C# Class UnityEngine.Networking.Utility

ファイルを表示 Open project: CarlosHBC/UnityDecompiled

Private Properties

Property Type Description
GetAppID AppID
SetAppID void
Utility System

Public Methods

Method Description
GetAccessTokenForNetwork ( NetworkID netId ) : NetworkAccessToken

Utility function to get this client's access token for a particular network, if it has been set.

GetSourceID ( ) : SourceID

Utility function to get the client's SourceID for unique identification.

SetAccessTokenForNetwork ( NetworkID netId, NetworkAccessToken accessToken ) : void

Utility function that accepts the access token for a network after it's received from the server.

Private Methods

Method Description
GetAppID ( ) : AppID
SetAppID ( AppID newAppID ) : void
Utility ( ) : System

Method Details

GetAccessTokenForNetwork() public static method

Utility function to get this client's access token for a particular network, if it has been set.

public static GetAccessTokenForNetwork ( NetworkID netId ) : NetworkAccessToken
netId NetworkID
return UnityEngine.Networking.Types.NetworkAccessToken

GetSourceID() public static method

Utility function to get the client's SourceID for unique identification.

public static GetSourceID ( ) : SourceID
return SourceID

SetAccessTokenForNetwork() public static method

Utility function that accepts the access token for a network after it's received from the server.

public static SetAccessTokenForNetwork ( NetworkID netId, NetworkAccessToken accessToken ) : void
netId NetworkID
accessToken UnityEngine.Networking.Types.NetworkAccessToken
return void