C# Класс BeardedManStudios.Forge.Examples.StartGame

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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

Свойство Тип Описание
Awake void
ConnectTimeout void
Go void
LoadScene void
RemoveSocketReference void
UpdatePlayerCount void

Открытые методы

Метод Описание
ServerBrowser ( ) : void
Start ( ) : void
StartClient ( ) : void
StartClientLan ( ) : void
StartServer ( ) : void

This method is called when the host server button is clicked

TCPLocal ( ) : void

Приватные методы

Метод Описание
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

Описание методов

ServerBrowser() публичный Метод

public ServerBrowser ( ) : void
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

StartClient() публичный Метод

public StartClient ( ) : void
Результат void

StartClientLan() публичный Метод

public StartClientLan ( ) : void
Результат void

StartServer() публичный Метод

This method is called when the host server button is clicked
public StartServer ( ) : void
Результат void

TCPLocal() публичный Метод

public TCPLocal ( ) : void
Результат void

Описание свойств

autoStartServer публичное свойство

public bool autoStartServer
Результат bool

host публичное свойство

public string host
Результат string

ipAddressInput публичное свойство

public InputField ipAddressInput
Результат InputField

masterServerIp публичное свойство

public string masterServerIp
Результат string

networkLatencySimulationTime публичное свойство

public int networkLatencySimulationTime
Результат int

packetDropSimulationChance публичное свойство

public float packetDropSimulationChance
Результат float

playerCount публичное свойство

public int playerCount
Результат int

port публичное свойство

public int port
Результат int

protocolType публичное свойство

public Networking.TransportationProtocolType protocolType
Результат Networking.TransportationProtocolType

proximityBasedUpdates публичное свойство

public bool proximityBasedUpdates
Результат bool

proximityDistance публичное свойство

public float proximityDistance
Результат float

sceneName публичное свойство

public string sceneName
Результат string

serverBrowserScene публичное свойство

public string serverBrowserScene
Результат string

showBandwidth публичное свойство

public bool showBandwidth
Результат bool

useNatHolePunching публичное свойство

public bool useNatHolePunching
Результат bool