|
| 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.
|
| |
| void | OnAuthorityReady () |
| |
| void | OnAuthorityClosing () |
| |
| 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.
|
| |
◆ FindSystem()
◆ FindSystemSource()
◆ GetNode()
| proto external RplNode WorldController.GetNode |
( |
| ) |
|
◆ GetOwnerIdentityId()
| proto external UUID WorldController.GetOwnerIdentityId |
( |
| ) |
|
Returns Identity Id of the player who owns this controller.
This function will return correct player identifier when called both on client and on server.
◆ GetOwnerPlayerId()
| proto external PlayerId WorldController.GetOwnerPlayerId |
( |
| ) |
|
Returns PlayerId of the player who owns this controller.
This function will return correct player identifier when called both on client and on server.
◆ GetOwnerRplIdentity()
| proto external RplIdentity WorldController.GetOwnerRplIdentity |
( |
| ) |
|
Returns RplIdentity of the player who owns this controller if it is available.
As RplIdentity is specific to each Replication instance, this function may return different values for different instances of the same controller. In other words, controller of particular player will return different identity depending on its role (authority or proxy). Specifically:
- authority always returns RplIdentity of player who owns the controller (on listen server, it returns RplIdentity::Local() for local player)
- proxy returns RplIdentity::Local() when it belongs to local player
- proxy returns RplIdentity::Invalid() when it does not belong to local player
- Returns
- RplIdentity representing player who owns the controller on this Replication instance, or invalid identity when this player cannot be addressed from this Replication instance.
◆ GetSystems()
◆ GetWorld()
| proto external World WorldController.GetWorld |
( |
| ) |
|
◆ InitInfo()
◆ IsMyOwn()
| proto external bool WorldController.IsMyOwn |
( |
| ) |
|
◆ OnAuthorityClosing()
| void WorldController.OnAuthorityClosing |
( |
| ) |
|
|
protected |
◆ OnAuthorityReady()
| void WorldController.OnAuthorityReady |
( |
| ) |
|
|
protected |
◆ Rpc()
Attempts to run a remote procedure call (RPC) of this instance with parameters specified in method RplRpc attribute.
- Parameters
-
| method | Member function to be invoked as an RPC. |
The documentation for this interface was generated from the following file:
- GameLib/generated/WorldSystems/WorldController.c