|
Enfusion Script API
|
[Hello world system - modded] More...
Public Member Functions | |
| override void | OnUpdatePoint (WorldUpdatePointArgs args) |
| Called at specific points during World update. | |
Public Member Functions inherited from WorldSystem | |
| proto external World | GetWorld () |
| Get the world associated with this system. | |
| proto external WorldSystems | GetSystems () |
| Get world systems associated with this system. | |
| proto external RplNode | GetNode () |
| proto external void | Enable (bool enable) |
| Enable/disable system. | |
| proto external bool | IsEnabled () |
| Returns true if system is enabled. | |
Public Member Functions inherited from Managed | |
| proto external ref Managed | Clone () |
| Return shallow copy of object, or null if it is not allowed (not public constructor) | |
Static Public Member Functions | |
| static override void | InitInfo (WorldSystemInfo outInfo) |
Static Public Member Functions inherited from EventProvider | |
| static proto bool | ConnectEvent (func eventSender, func eventReceiver) |
| Connects receiver callback to provider event. | |
| static proto bool | ConnectEventFiltered (func eventSender, func eventReceiver, void filter) |
| Connects receiver callback to provider event. | |
| static proto bool | DisconnectEvent (func eventSender, func eventReceiver) |
| Disconnect single event connection. | |
| static proto bool | DisconnectEventFiltered (func eventSender, func eventReceiver, void filter) |
| Disconnect single event connection. | |
| static proto bool | DisconnectEvents (EventProvider provider, Managed receiver) |
| Disconnect all connections between provider and receiver. | |
Additional Inherited Members | |
Protected Member Functions inherited from WorldSystem | |
| proto external void | BeginUpdate () |
| The 4 functions below are designed so scripters can handle a batch update of multiple entities in a performant way. | |
| proto external void | Update () |
| proto external void | EndUpdate () |
| proto external void | AddEntity (notnull IEntity entity) |
| proto void | Rpc (func method, void p0=NULL, void p1=NULL, void p2=NULL, void p3=NULL, void p4=NULL, void p5=NULL, void p6=NULL, void p7=NULL) |
| Attempts to run a remote procedure call (RPC) of this instance with parameters specified in method RplRpc attribute. | |
| bool | DependsOn (WorldSystemPoint point, WorldSystem system) |
| Should return true for systems this system depends on. | |
| void | OnInit () |
| Called when system are to be intialized. | |
| void | OnCleanup () |
| Called when system are to be cleaned up. | |
| void | OnStarted () |
| Called every time system is started (before the first run and after Enable(true) is called. | |
| void | OnStopped () |
| Called every time system is stopped (after Enable(false) is called and before the system is being destroyed. | |
| void | OnUpdate (WorldSystemPoint point) |
| void | OnOneTimePoint (WorldOneTimePointArgs args) |
| Called at specific one-time events during World lifetime. | |
| void | OnDiag (float timeSlice) |
Protected Member Functions inherited from EventProvider | |
| proto external void | ThrowEvent (func eventSender, void param1=null, void param2=null, void param3=null, void param4=null, void param5=null, void param6=null, void param7=null, void param8=null, void param9=null) |
| Emit event on provider. | |
[Hello world system - modded]
[Multi-point system]
|
static |
Implements WorldSystem.
| override void MultiPointSystem.OnUpdatePoint | ( | WorldUpdatePointArgs | args | ) |
Called at specific points during World update.
Implements WorldSystem.