Свойство | Type | Description | |
---|---|---|---|
allReadyCountdown | float | ||
allReadyCountdownDuration | float | ||
broadcastIdentifier | string | ||
deviceId | string | ||
discoveryClient | CaptainsMessClient | ||
discoveryServer | CaptainsMessServer | ||
forceServer | bool | ||
listener | CaptainsMessListener | ||
localPlayer | CaptainsMessPlayer | ||
peerId | string | ||
startHostingDelay | float | ||
verboseLogging | bool |
Méthode | Description | |
---|---|---|
AreAllPlayersCompatible ( ) : bool | ||
AreAllPlayersReady ( ) : bool | ||
AutoConnect ( ) : void | ||
Cancel ( ) : void | ||
CheckAllReady ( ) : void | ||
CheckReadyToBegin ( ) : void | ||
FinishGame ( ) : void | ||
HasGameStarted ( ) : bool | ||
HighestConnectedVersion ( ) : int | ||
InitNetworkTransport ( ) : void | ||
IsBroadcasting ( ) : bool | ||
IsConnected ( ) : bool | ||
IsHost ( ) : bool | ||
IsJoining ( ) : bool | ||
JoinServer ( string aAddress, int aPort ) : void | ||
LobbyPlayers ( ) : List |
||
MaybeStartHosting ( ) : void | ||
NumPlayers ( ) : int | ||
NumReadyPlayers ( ) : int | ||
OnDiscoveredServer ( DiscoveredServer, aServer ) : void | ||
OnLobbyClientEnter ( ) : void | ||
OnLobbyClientExit ( ) : void | ||
OnLobbyServerConnect ( NetworkConnection conn ) : void | ||
OnLobbyServerCreateLobbyPlayer ( NetworkConnection conn, short playerControllerId ) : GameObject | ||
OnLobbyServerDisconnect ( NetworkConnection conn ) : void | ||
OnLobbyServerPlayersReady ( ) : void | ||
OnReceivedBroadcast ( string aFromAddress, string aData ) : void | ||
SendAbortGameMessage ( ) : void | ||
SendCountdownCancelledMessage ( ) : void | ||
SendCountdownStartedMessage ( ) : void | ||
SendDiscoveredServerMessage ( DiscoveredServer, aServer ) : void | ||
SendJoinedLobbyMessage ( ) : void | ||
SendLeftLobbyMessage ( ) : void | ||
SendReceivedBroadcastMessage ( string aFromAddress, string aData ) : void | ||
SendServerCreatedMessage ( ) : void | ||
SendStartConnectingMessage ( ) : void | ||
SendStartGameMessage ( List |
||
SendStopConnectingMessage ( ) : void | ||
SetPrivateTeamKey ( string key ) : void | ||
ShutdownNetworkTransport ( ) : void | ||
Start ( ) : void | ||
StartBroadcasting ( ) : void | ||
StartHosting ( ) : void | ||
StartJoining ( ) : void | ||
StartLocalGameForDebugging ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
BestHostingCandidate ( ) : string | ||
GenerateNewUniqueID ( ) : string | ||
GetHostingCandidates ( ) : List |
||
GetUniqueDeviceId ( ) : string | ||
JoinServerInternal ( ) : void | ||
StartHostingInternal ( ) : void |
public JoinServer ( string aAddress, int aPort ) : void | ||
aAddress | string | |
aPort | int | |
Résultat | void |
public OnDiscoveredServer ( DiscoveredServer, aServer ) : void | ||
aServer | DiscoveredServer, | |
Résultat | void |
public OnLobbyServerConnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | |
Résultat | void |
public OnLobbyServerCreateLobbyPlayer ( NetworkConnection conn, short playerControllerId ) : GameObject | ||
conn | NetworkConnection | |
playerControllerId | short | |
Résultat | GameObject |
public OnLobbyServerDisconnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | |
Résultat | void |
public OnLobbyServerPlayersReady ( ) : void | ||
Résultat | void |
public OnReceivedBroadcast ( string aFromAddress, string aData ) : void | ||
aFromAddress | string | |
aData | string | |
Résultat | void |
public SendCountdownCancelledMessage ( ) : void | ||
Résultat | void |
public SendCountdownStartedMessage ( ) : void | ||
Résultat | void |
public SendDiscoveredServerMessage ( DiscoveredServer, aServer ) : void | ||
aServer | DiscoveredServer, | |
Résultat | void |
public SendReceivedBroadcastMessage ( string aFromAddress, string aData ) : void | ||
aFromAddress | string | |
aData | string | |
Résultat | void |
public SendStartConnectingMessage ( ) : void | ||
Résultat | void |
public SendStartGameMessage ( List |
||
aStartingPlayers | List |
|
Résultat | void |
public SendStopConnectingMessage ( ) : void | ||
Résultat | void |
public SetPrivateTeamKey ( string key ) : void | ||
key | string | |
Résultat | void |
public StartLocalGameForDebugging ( ) : void | ||
Résultat | void |
public CaptainsMessClient discoveryClient | ||
Résultat | CaptainsMessClient |
public CaptainsMessServer discoveryServer | ||
Résultat | CaptainsMessServer |