C# Class CaptainsMessPlayer, CaptainsMess

Inheritance: NetworkBehaviour
显示文件 Open project: hengineer/CaptainsMess Class Usage Examples

Public Properties

Property Type Description
VERSION int

Protected Properties

Property Type Description
networkManager CaptainsMessNetworkManager,

Public Methods

Method Description
IsReady ( ) : bool
OnClientEnterLobby ( ) : void
OnClientExitLobby ( ) : void
OnClientReady ( bool readyState ) : void
OnDestroy ( ) : void
OnStartClient ( ) : void
OnStartLocalPlayer ( ) : void
SendNotReadyToBeginMessage ( ) : void
SendReadyToBeginMessage ( ) : void

Private Methods

Method Description
CmdSetBasePlayerInfo ( int aVersion, string aDeviceName, string aDeviceId, string aPeerId, int aPlayerIndex ) : void
CmdSetReady ( bool r ) : void
OnReadyChanged ( bool newValue ) : void

Method Details

IsReady() public method

public IsReady ( ) : bool
return bool

OnClientEnterLobby() public method

public OnClientEnterLobby ( ) : void
return void

OnClientExitLobby() public method

public OnClientExitLobby ( ) : void
return void

OnClientReady() public method

public OnClientReady ( bool readyState ) : void
readyState bool
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnStartClient() public method

public OnStartClient ( ) : void
return void

OnStartLocalPlayer() public method

public OnStartLocalPlayer ( ) : void
return void

SendNotReadyToBeginMessage() public method

public SendNotReadyToBeginMessage ( ) : void
return void

SendReadyToBeginMessage() public method

public SendReadyToBeginMessage ( ) : void
return void

Property Details

VERSION public_oe static_oe property

public static int VERSION
return int

networkManager protected_oe property

protected CaptainsMessNetworkManager, networkManager
return CaptainsMessNetworkManager,