C# Class JoinGameMenuActions, GameProject

Join game menu actions code behind.
Inheritance: MonoBehaviour
Exibir arquivo Open project: EECS390IndieTeam/GameProject

Public Properties

Property Type Description
ipInputField InputField,
lobbyButton Button
lobbyPasswordInputField InputField,
screenNameInputField InputField,

Public Methods

Method Description
Start ( ) : void

Initial setup.

Update ( ) : void

Private Methods

Method Description
IsIPAndPortValid ( ) : bool

Superficially verifies an IP address by checking for 4 IP integer segments connected by 3 periods. More intense checking is done by Bolt. This is "good 'nuf"!

ValidateInputs ( ) : void

Validates user inputs. If inputs are bad, disables the lobby button.

Method Details

Start() public method

Initial setup.
public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

ipInputField public_oe property

IP and port input field control.
public InputField, ipInputField
return InputField,

lobbyButton public_oe property

Lobby button input control.
public Button lobbyButton
return Button

lobbyPasswordInputField public_oe property

Lobby password input field control.
public InputField, lobbyPasswordInputField
return InputField,

screenNameInputField public_oe property

Screen name input field control.
public InputField, screenNameInputField
return InputField,