C# Class PHPMasterServerConnect, PHPMasterServer

Inheritance: MonoBehaviour
Show file 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 property

public float delayBetweenUpdates
return float

gameType public property

public string gameType
return string

masterServerURL public property

public string masterServerURL
return string

maxRetries public property

public int maxRetries
return int