C# Class BeardedManStudios.Forge.Examples.StartGame

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: drakelinglabs/unityarmada

Public Properties

Property Type Description
autoStartServer bool
host string
ipAddressInput InputField
masterServerIp string
networkLatencySimulationTime int
packetDropSimulationChance float
playerCount int
port int
protocolType Networking.TransportationProtocolType
proximityBasedUpdates bool
proximityDistance float
sceneName string
serverBrowserScene string
showBandwidth bool
useNatHolePunching bool

Private Properties

Property Type Description
Awake void
ConnectTimeout void
Go void
LoadScene void
RemoveSocketReference void
UpdatePlayerCount void

Public Methods

Method Description
ServerBrowser ( ) : void
Start ( ) : void
StartClient ( ) : void
StartClientLan ( ) : void
StartServer ( ) : void

This method is called when the host server button is clicked

TCPLocal ( ) : void

Private Methods

Method Description
Awake ( ) : void
ConnectTimeout ( ) : void
Go ( ) : void
LoadScene ( ) : void
RemoveSocketReference ( ) : void
UpdatePlayerCount ( NetworkingPlayer player ) : void

This method is called when a player connects or disconnects in order to update the player count on Arbiter

Method Details

ServerBrowser() public method

public ServerBrowser ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartClient() public method

public StartClient ( ) : void
return void

StartClientLan() public method

public StartClientLan ( ) : void
return void

StartServer() public method

This method is called when the host server button is clicked
public StartServer ( ) : void
return void

TCPLocal() public method

public TCPLocal ( ) : void
return void

Property Details

autoStartServer public_oe property

public bool autoStartServer
return bool

host public_oe property

public string host
return string

ipAddressInput public_oe property

public InputField ipAddressInput
return InputField

masterServerIp public_oe property

public string masterServerIp
return string

networkLatencySimulationTime public_oe property

public int networkLatencySimulationTime
return int

packetDropSimulationChance public_oe property

public float packetDropSimulationChance
return float

playerCount public_oe property

public int playerCount
return int

port public_oe property

public int port
return int

protocolType public_oe property

public Networking.TransportationProtocolType protocolType
return Networking.TransportationProtocolType

proximityBasedUpdates public_oe property

public bool proximityBasedUpdates
return bool

proximityDistance public_oe property

public float proximityDistance
return float

sceneName public_oe property

public string sceneName
return string

serverBrowserScene public_oe property

public string serverBrowserScene
return string

showBandwidth public_oe property

public bool showBandwidth
return bool

useNatHolePunching public_oe property

public bool useNatHolePunching
return bool