Property | Type | Description | |
---|---|---|---|
UserIdAll | int | ||
UserIdError | int | ||
sName | String | ||
uActualAverageSendRate | float | ||
uTargetSendRate | float | ||
uUnityConfigSendRate | float |
Property | Type | Description | |
---|---|---|---|
AddClientSide | void | ||
AddServerSide | void | ||
Awake | void | ||
DeliverMessage | void | ||
InitializeConnection | void | ||
NetworkPlayerToConnectionId | |||
NextConnectionId | |||
OnConnectedToServer | void | ||
OnDestroy | void | ||
OnDisconnectedFromServer | void | ||
OnFailedToConnect | void | ||
OnPlayerConnected | void | ||
OnPlayerDisconnected | void | ||
OnServerInitialized | void |
Method | Description | |
---|---|---|
Connect ( string address ) : |
||
ConnectToGuid ( string guid ) : void | ||
Dequeue ( |
||
Disconnect ( |
||
Flush ( ) : void | ||
Get ( ) : |
||
IsAvailable ( ) : bool | ||
SendData ( |
||
Shutdown ( ) : void | ||
SingleEndpoint_OnSerialize ( |
||
StartServer ( ) : void | ||
StartServer ( int port ) : void | ||
TakeSession ( ) : void |
Used to initialize the UnityNetwork class after the server was started or the client connected.
|
|
Update ( ) : void |
Method | Description | |
---|---|---|
AddClientSide ( |
||
AddServerSide ( |
||
Awake ( ) : void | ||
DeliverMessage ( byte data, |
||
InitializeConnection ( |
||
NetworkPlayerToConnectionId ( |
||
NextConnectionId ( ) : |
||
OnConnectedToServer ( ) : void | ||
OnDestroy ( ) : void | ||
OnDisconnectedFromServer ( NetworkDisconnection info ) : void | ||
OnFailedToConnect ( NetworkConnectionError error ) : void | ||
OnPlayerConnected ( |
||
OnPlayerDisconnected ( |
||
OnServerInitialized ( ) : void |
public Connect ( string address ) : |
||
address | string | |
return |
public SendData ( |
||
userId | ||
data | byte | |
offset | int | |
length | int | |
reliable | bool | |
return | void |
public SingleEndpoint_OnSerialize ( |
||
stream | ||
senderOrReceiver | ||
return | void |