Enfusion Script API
|
[World controller example] More...
Public Member Functions | |
void | RequestNameChange (string newPlayerName) |
![]() | |
proto external World | GetWorld () |
proto external bool | IsMyOwn () |
proto external RplRole | Role () |
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. | |
proto external BaseSystem | FindSystem (TypeName interfaceType) |
proto external RplIdentity | GetServerSideOwner () |
![]() | |
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 (WorldControllerInfo outInfo) |
![]() | |
static proto WorldController | FindMyController (World world, TypeName type) |
static proto WorldController | FindController (World world, TypeName type, RplIdentity serverSideOwner) |
static proto void | GetServerSideOwners (World world, notnull array< int > outOwners) |
Public Attributes | |
string | m_PlayerName |
Protected Member Functions | |
override void | OnAuthorityReady () |
![]() | |
void | OnAuthorityClosing () |
|
static |
Implements WorldController.
|
protected |
Implements WorldController.
void PlayerNameInputController.RequestNameChange | ( | string | newPlayerName | ) |
string PlayerNameInputController.m_PlayerName |