Space Engineers
Static Public Member Functions | List of all members
Sandbox.Game.World.MyGlobalEventFactory Class Reference

Static Public Member Functions

static MethodInfo GetEventHandler (MyDefinitionId eventDefinitionId)
 
static EventDataType CreateEvent< EventDataType > (MyDefinitionId id)
 Use for creation of the event in code (ensures correct data class usage) More...
 
static MyGlobalEventBase CreateEvent (MyDefinitionId id)
 
static MyGlobalEventBase CreateEvent (MyObjectBuilder_GlobalEventBase ob)
 Use for deserialization from a saved game More...
 

Detailed Description

Definition at line 39 of file MyGlobalEventFactory.cs.

Member Function Documentation

static MyGlobalEventBase Sandbox.Game.World.MyGlobalEventFactory.CreateEvent ( MyDefinitionId  id)
inlinestatic

Definition at line 127 of file MyGlobalEventFactory.cs.

static MyGlobalEventBase Sandbox.Game.World.MyGlobalEventFactory.CreateEvent ( MyObjectBuilder_GlobalEventBase  ob)
inlinestatic

Use for deserialization from a saved game

Definition at line 144 of file MyGlobalEventFactory.cs.

static EventDataType Sandbox.Game.World.MyGlobalEventFactory.CreateEvent< EventDataType > ( MyDefinitionId  id)
inlinestatic

Use for creation of the event in code (ensures correct data class usage)

Type Constraints
EventDataType :MyGlobalEventBase 
EventDataType :new() 

Definition at line 114 of file MyGlobalEventFactory.cs.

static MethodInfo Sandbox.Game.World.MyGlobalEventFactory.GetEventHandler ( MyDefinitionId  eventDefinitionId)
inlinestatic

Definition at line 104 of file MyGlobalEventFactory.cs.


The documentation for this class was generated from the following file: