C# Class PHPMasterServerConnect, PHPMasterServer

Inheritance: MonoBehaviour
Datei anzeigen Open project: tosos/PHPMasterServer Class Usage Examples

Public Properties

Property Type Description
delayBetweenUpdates float
gameType string
masterServerURL string
maxRetries int

Public Methods

Method Description
Awake ( ) : void
OnDestroy ( ) : void
PollHostList ( ) : UnityEngine.HostData[]
QueryPHPMasterServer ( ) : void
RegisterHost ( string pGameName, string pComment ) : void
UnregisterHost ( ) : void

Private Methods

Method Description
OnPlayerConnected ( NetworkPlayer player ) : IEnumerator
OnPlayerDisconnected ( NetworkPlayer player ) : IEnumerator
QueryPHPMasterServerCR ( ) : IEnumerator
RegisterHostCR ( ) : IEnumerator
RegistrationLoop ( ) : IEnumerator
UnregisterHostCR ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

PollHostList() public method

public PollHostList ( ) : UnityEngine.HostData[]
return UnityEngine.HostData[]

QueryPHPMasterServer() public method

public QueryPHPMasterServer ( ) : void
return void

RegisterHost() public method

public RegisterHost ( string pGameName, string pComment ) : void
pGameName string
pComment string
return void

UnregisterHost() public method

public UnregisterHost ( ) : void
return void

Property Details

delayBetweenUpdates public_oe property

public float delayBetweenUpdates
return float

gameType public_oe property

public string gameType
return string

masterServerURL public_oe property

public string masterServerURL
return string

maxRetries public_oe property

public int maxRetries
return int