C# Class BeardedManStudios.Forge.Examples.StartGame

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: drakelinglabs/unityarmada

Méthodes publiques

Свойство 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

Свойство Type Description
Awake void
ConnectTimeout void
Go void
LoadScene void
RemoveSocketReference void
UpdatePlayerCount void

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ServerBrowser ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartClient() public méthode

public StartClient ( ) : void
Résultat void

StartClientLan() public méthode

public StartClientLan ( ) : void
Résultat void

StartServer() public méthode

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

TCPLocal() public méthode

public TCPLocal ( ) : void
Résultat void

Property Details

autoStartServer public_oe property

public bool autoStartServer
Résultat bool

host public_oe property

public string host
Résultat string

ipAddressInput public_oe property

public InputField ipAddressInput
Résultat InputField

masterServerIp public_oe property

public string masterServerIp
Résultat string

networkLatencySimulationTime public_oe property

public int networkLatencySimulationTime
Résultat int

packetDropSimulationChance public_oe property

public float packetDropSimulationChance
Résultat float

playerCount public_oe property

public int playerCount
Résultat int

port public_oe property

public int port
Résultat int

protocolType public_oe property

public Networking.TransportationProtocolType protocolType
Résultat Networking.TransportationProtocolType

proximityBasedUpdates public_oe property

public bool proximityBasedUpdates
Résultat bool

proximityDistance public_oe property

public float proximityDistance
Résultat float

sceneName public_oe property

public string sceneName
Résultat string

serverBrowserScene public_oe property

public string serverBrowserScene
Résultat string

showBandwidth public_oe property

public bool showBandwidth
Résultat bool

useNatHolePunching public_oe property

public bool useNatHolePunching
Résultat bool