|
| MyProceduralLogicalSector (MyProceduralEnvironmentProvider provider, int x, int y, int localLod, MyObjectBuilder_ProceduralEnvironmentSector moduleData) |
|
override unsafe void | EnableItem (int itemId, bool enabled) |
|
override unsafe void | UpdateItemModel (int itemId, short modelId) |
|
override unsafe void | UpdateItemModelBatch (List< int > itemIds, short newModelId) |
|
override T | GetModule< T > () |
|
override IMyEnvironmentModule | GetModuleForDefinition (MyRuntimeEnvironmentItemInfo def) |
|
Vector3 | GetRandomPerpendicularVector (ref Vector3 axis, int seed) |
|
unsafe void | ScanItems (int targetLod) |
|
override void | Init (MyObjectBuilder_EnvironmentSector sectorBuilder) |
|
override MyObjectBuilder_EnvironmentSector | GetObjectBuilder () |
|
override void | GetItemDefinition (ushort key, out MyRuntimeEnvironmentItemInfo it) |
|
override void | Close () |
|
override void | DebugDraw (int lod) |
|
void | RaiseItemEvent< TModule > (int logicalItem, object eventData, bool fromClient=false) |
| Raise event from a storage module. More...
|
|
override void | RaiseItemEvent< T > (int logicalItem, ref MyDefinitionId modDef, T eventData, bool fromClient) |
|
void | HandleItemEventServer (int logicalItem, SerializableDefinitionId def, [Serialize(MyObjectFlags.Dynamic|MyObjectFlags.Nullable, DynamicSerializerType=typeof(MyDynamicObjectResolver))] object data) |
|
void | HandleItemEventClient (int logicalItem, SerializableDefinitionId def, [Serialize(MyObjectFlags.Dynamic|MyObjectFlags.Nullable, DynamicSerializerType=typeof(MyDynamicObjectResolver))] object data) |
|
void | HandleItemEvent (int logicalItem, SerializableDefinitionId def, object data, bool fromClient) |
|
void | UpdateMinLod () |
|
override string | ToString () |
|
override void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.Close |
( |
| ) |
|
|
inlinevirtual |
override void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.DebugDraw |
( |
int |
lod | ) |
|
|
inlinevirtual |
override unsafe void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.EnableItem |
( |
int |
itemId, |
|
|
bool |
enabled |
|
) |
| |
|
inlinevirtual |
override T Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.GetModule< T > |
( |
| ) |
|
|
inlinevirtual |
Vector3 Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.GetRandomPerpendicularVector |
( |
ref Vector3 |
axis, |
|
|
int |
seed |
|
) |
| |
|
inline |
void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.HandleItemEvent |
( |
int |
logicalItem, |
|
|
SerializableDefinitionId |
def, |
|
|
object |
data, |
|
|
bool |
fromClient |
|
) |
| |
|
inline |
Handler for multiplayer events.
Depending on the provided module definition the event may be coming from server to clients or from a clientto the server.
Definition at line 658 of file MyProceduralLogicalSector.cs.
void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.HandleItemEventClient |
( |
int |
logicalItem, |
|
|
SerializableDefinitionId |
def, |
|
|
[Serialize(MyObjectFlags.Dynamic | MyObjectFlags.Nullable, DynamicSerializerType = typeof(MyDynamicObjectResolver))] object |
data |
|
) |
| |
|
inline |
void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.HandleItemEventServer |
( |
int |
logicalItem, |
|
|
SerializableDefinitionId |
def, |
|
|
[Serialize(MyObjectFlags.Dynamic | MyObjectFlags.Nullable, DynamicSerializerType = typeof(MyDynamicObjectResolver))] object |
data |
|
) |
| |
|
inline |
override void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.RaiseItemEvent< T > |
( |
int |
logicalItem, |
|
|
ref MyDefinitionId |
modDef, |
|
|
T |
eventData, |
|
|
bool |
fromClient |
|
) |
| |
|
inlinevirtual |
void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.RaiseItemEvent< TModule > |
( |
int |
logicalItem, |
|
|
object |
eventData, |
|
|
bool |
fromClient = false |
|
) |
| |
|
inline |
Raise event from a storage module.
Can be either a client event to server (fromClient = true) or a broadcast of a server event to all clients with this logical sector (fromClient = false).
- Template Parameters
-
TModule | Type of the storage module to notify |
- Parameters
-
logicalItem | Logical item Id |
eventData | Data to send along with the event. |
fromClient | Weather this event comes from client to server or server to all clients. |
- Type Constraints
-
TModule | : | IMyEnvironmentModule | |
Definition at line 618 of file MyProceduralLogicalSector.cs.
unsafe void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.ScanItems |
( |
int |
targetLod | ) |
|
|
inline |
override string Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.ToString |
( |
| ) |
|
|
inline |
override unsafe void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.UpdateItemModel |
( |
int |
itemId, |
|
|
short |
modelId |
|
) |
| |
|
inlinevirtual |
override unsafe void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.UpdateItemModelBatch |
( |
List< int > |
itemIds, |
|
|
short |
newModelId |
|
) |
| |
|
inlinevirtual |
void Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.UpdateMinLod |
( |
| ) |
|
|
inline |
int Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.MinimumScannedLod = MyEnvironmentSectorConstants.MaximumLod + 1 |
override string Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.DebugData |
|
get |
override List<ItemInfo> Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.Items |
|
get |
override bool Sandbox.Game.WorldEnvironment.MyProceduralLogicalSector.ServerOwned |
|
getset |
The documentation for this class was generated from the following file: