C# Class OnlinePlay

Inheritance: MonoBehaviour
Mostra file Open project: BornToGrill/Project-Frequency

Public Properties

Property Type Description
ErrorOverlay GameObject
LoginOverlay GameObject

Public Methods

Method Description
CreateLobby ( ) : void
EndSession ( ) : void
GetLobbyIp ( string response ) : IPEndPoint
GetResponse ( Socket socket, string query ) : string
GetSession ( ) : SessionData,
HideJoinScreen ( GameObject panel ) : void
JoinLobby ( InputField, input ) : void
LoginStatus ( ) : bool
SetNameHandshake ( string response ) : void
ShowJoinScreen ( GameObject panel ) : void

Private Methods

Method Description
GetLoginStatus ( ) : LoginStatus,
ShowError ( string error ) : void

Method Details

CreateLobby() public method

public CreateLobby ( ) : void
return void

EndSession() public method

public EndSession ( ) : void
return void

GetLobbyIp() public method

public GetLobbyIp ( string response ) : IPEndPoint
response string
return IPEndPoint

GetResponse() public method

public GetResponse ( Socket socket, string query ) : string
socket Socket
query string
return string

GetSession() public method

public GetSession ( ) : SessionData,
return SessionData,

HideJoinScreen() public method

public HideJoinScreen ( GameObject panel ) : void
panel GameObject
return void

JoinLobby() public method

public JoinLobby ( InputField, input ) : void
input InputField,
return void

LoginStatus() public method

public LoginStatus ( ) : bool
return bool

SetNameHandshake() public method

public SetNameHandshake ( string response ) : void
response string
return void

ShowJoinScreen() public method

public ShowJoinScreen ( GameObject panel ) : void
panel GameObject
return void

Property Details

ErrorOverlay public_oe property

public GameObject ErrorOverlay
return GameObject

LoginOverlay public_oe property

public GameObject LoginOverlay
return GameObject