C# 클래스 ManateesAgainstCards.Network.Server

파일 보기 프로젝트 열기: DatZach/HumanityAgainstCards

공개 프로퍼티들

프로퍼티 타입 설명
AllowLateJoins bool
Password string
PointCap int
SecondsPerTurn int
State States

공개 메소드들

메소드 설명
DeclareWinner ( ushort id ) : void
GenerateId ( ) : ushort
Greet ( ) : void
Initialize ( int port ) : void
LoadCards ( ) : void
SendMessage ( this connection, Packet packet, NetDeliveryMethod method = NetDeliveryMethod.ReliableOrdered ) : NetSendResult
SendMessageToAll ( Packet packet, NetDeliveryMethod method = NetDeliveryMethod.ReliableOrdered, bool>.Func condition = null ) : void
SendMessageToAllExcept ( Packet packet, ushort id, NetDeliveryMethod method = NetDeliveryMethod.ReliableOrdered ) : void
Shutdown ( ) : void
StartMatch ( bool cooldown ) : void
UpdateNetwork ( ) : void

비공개 메소드들

메소드 설명
HandleGame ( ) : void
Server ( ) : System

메소드 상세

DeclareWinner() 공개 정적인 메소드

public static DeclareWinner ( ushort id ) : void
id ushort
리턴 void

GenerateId() 공개 정적인 메소드

public static GenerateId ( ) : ushort
리턴 ushort

Greet() 공개 정적인 메소드

public static Greet ( ) : void
리턴 void

Initialize() 공개 정적인 메소드

public static Initialize ( int port ) : void
port int
리턴 void

LoadCards() 공개 정적인 메소드

public static LoadCards ( ) : void
리턴 void

SendMessage() 공개 정적인 메소드

public static SendMessage ( this connection, Packet packet, NetDeliveryMethod method = NetDeliveryMethod.ReliableOrdered ) : NetSendResult
connection this
packet Packet
method NetDeliveryMethod
리턴 NetSendResult

SendMessageToAll() 공개 정적인 메소드

public static SendMessageToAll ( Packet packet, NetDeliveryMethod method = NetDeliveryMethod.ReliableOrdered, bool>.Func condition = null ) : void
packet Packet
method NetDeliveryMethod
condition bool>.Func
리턴 void

SendMessageToAllExcept() 공개 정적인 메소드

public static SendMessageToAllExcept ( Packet packet, ushort id, NetDeliveryMethod method = NetDeliveryMethod.ReliableOrdered ) : void
packet Packet
id ushort
method NetDeliveryMethod
리턴 void

Shutdown() 공개 정적인 메소드

public static Shutdown ( ) : void
리턴 void

StartMatch() 공개 정적인 메소드

public static StartMatch ( bool cooldown ) : void
cooldown bool
리턴 void

UpdateNetwork() 공개 정적인 메소드

public static UpdateNetwork ( ) : void
리턴 void

프로퍼티 상세

AllowLateJoins 공개적으로 정적으로 프로퍼티

public static bool AllowLateJoins
리턴 bool

Password 공개적으로 정적으로 프로퍼티

public static string Password
리턴 string

PointCap 공개적으로 정적으로 프로퍼티

public static int PointCap
리턴 int

SecondsPerTurn 공개적으로 정적으로 프로퍼티

public static int SecondsPerTurn
리턴 int

State 공개적으로 정적으로 프로퍼티

public static States State
리턴 States