C# Class Relay, WaitingForHorus

Inheritance: uLink.MonoBehaviour
显示文件 Open project: merveilles/WaitingForHorus Class Usage Examples

Public Properties

Property Type Description
BadConnectionColor Color
BaseServer Server,
BaseSkin UnityEngine.GUISkin
ConnectingServerHostname string
CurrentVersionID int
DevelopmentMode bool
GoodConnectionColor Color
ListedMaps string[]
MainCamera GameObject
MouseSensitivityCurve UnityEngine.AnimationCurve

Private Properties

Property Type Description
ConnectToExternalListedServer void
ConnectToRandomServer void
DrawLoginWindow void
DrawMasterServerInput void
DrawServerList void
GetRandomMapName string
ReceiveMasterListChanged void
ReceiveMasterListFetchError void
ReceiveServerMessage void
RemoveSpecialCharacters string
TryNewMasterServer void

Public Methods

Method Description
Awake ( ) : void
Connect ( RunMode mode ) : void
OnDestroy ( ) : void
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void
uLink_OnDisconnectedFromServer ( uLink error ) : void
uLink_OnFailedToConnect ( uLink error ) : void
uLink_OnServerInitialized ( ) : void
uLink_OnServerUninitialized ( uLink error ) : void

Private Methods

Method Description
ConnectToExternalListedServer ( ServerInfoRaw serverInfo ) : void
ConnectToRandomServer ( ) : void
DrawLoginWindow ( int id ) : void
DrawMasterServerInput ( int id ) : void
DrawServerList ( int id ) : void
GetRandomMapName ( ) : string
ReceiveMasterListChanged ( ) : void
ReceiveMasterListFetchError ( string message ) : void
ReceiveServerMessage ( string text ) : void
RemoveSpecialCharacters ( string str ) : string
TryNewMasterServer ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Connect() public method

public Connect ( RunMode mode ) : void
mode RunMode
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

uLink_OnDisconnectedFromServer() public method

public uLink_OnDisconnectedFromServer ( uLink error ) : void
error uLink
return void

uLink_OnFailedToConnect() public method

public uLink_OnFailedToConnect ( uLink error ) : void
error uLink
return void

uLink_OnServerInitialized() public method

public uLink_OnServerInitialized ( ) : void
return void

uLink_OnServerUninitialized() public method

public uLink_OnServerUninitialized ( uLink error ) : void
error uLink
return void

Property Details

BadConnectionColor public_oe property

public Color BadConnectionColor
return Color

BaseServer public_oe property

public Server, BaseServer
return Server,

BaseSkin public_oe property

public GUISkin,UnityEngine BaseSkin
return UnityEngine.GUISkin

ConnectingServerHostname public_oe property

public string ConnectingServerHostname
return string

CurrentVersionID public_oe property

public int CurrentVersionID
return int

DevelopmentMode public_oe property

public bool DevelopmentMode
return bool

GoodConnectionColor public_oe property

public Color GoodConnectionColor
return Color

ListedMaps public_oe property

public string[] ListedMaps
return string[]

MainCamera public_oe property

public GameObject MainCamera
return GameObject

MouseSensitivityCurve public_oe property

public AnimationCurve,UnityEngine MouseSensitivityCurve
return UnityEngine.AnimationCurve