Table of Contents

Struct CHTSessionInfo

房間資訊 Name:房間名稱,用於指定加入或顯示 PlayerCount : 當前人數 MaxPlayers : 上限人數 IsVisible : 是否可以進入 IsOpen : 是否開放尋找

public struct CHTSessionInfo
Inherited Members

Constructors

CHTSessionInfo(string, bool, bool, int, int)

public CHTSessionInfo(string name = null, bool isVisible = false, bool isOpen = false, int playerCount = -1, int maxPlayers = -1)

Parameters

name string
isVisible bool
isOpen bool
playerCount int
maxPlayers int

Fields

IsOpen

public bool IsOpen

Field Value

bool

IsVisible

public bool IsVisible

Field Value

bool

MaxPlayers

public int MaxPlayers

Field Value

int

Name

public string Name

Field Value

string

PlayerCount

public int PlayerCount

Field Value

int