C# 클래스 OpenRA.Server.Server

파일 보기 프로젝트 열기: OpenRA/OpenRA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Conns List
Dedicated bool
Ip System.Net.IPAddress
LobbyInfo OpenRA.FileFormats.Session
Map MapPreview
ModData ModData
Port int
PreConns List
Random System.MersenneTwister
Settings ServerSettings
TempBans List
TwoHumansRequiredText string

보호된 프로퍼티들

프로퍼티 타입 설명
internalState ServerState

공개 메소드들

메소드 설명
ChooseFreePlayerIndex ( ) : int
DispatchOrders ( Connection conn, int frame, byte data ) : void
DispatchOrdersToClients ( Connection conn, int frame, byte data ) : void
DropClient ( Connection toDrop ) : void
DropClient ( Connection toDrop, int frame ) : void
EndGame ( ) : void
GetClient ( Connection conn ) : OpenRA.FileFormats.Session.Client
SendMessage ( string text ) : void
SendOrderTo ( Connection conn, string order, string data ) : void
Server ( IPEndPoint endpoint, ServerSettings settings, ModData modData, bool dedicated ) : System
Shutdown ( ) : void
StartGame ( ) : void
SyncClientPing ( ) : void
SyncClientToPlayerReference ( OpenRA.FileFormats.Session c, OpenRA.FileFormats.PlayerReference pr ) : void
SyncLobbyClients ( ) : void
SyncLobbyGlobalSettings ( ) : void
SyncLobbyInfo ( ) : void
SyncLobbySlots ( ) : void

비공개 메소드들

메소드 설명
AcceptConnection ( ) : void
DispatchOrdersToClient ( Connection c, int client, int frame, byte data ) : void
InterpretServerOrder ( Connection conn, ServerOrder so ) : void
InterpretServerOrders ( Connection conn, byte data ) : void
SendData ( Socket s, byte data ) : void
ValidateClient ( Connection newConn, string data ) : void

메소드 상세

ChooseFreePlayerIndex() 공개 메소드

public ChooseFreePlayerIndex ( ) : int
리턴 int

DispatchOrders() 공개 메소드

public DispatchOrders ( Connection conn, int frame, byte data ) : void
conn Connection
frame int
data byte
리턴 void

DispatchOrdersToClients() 공개 메소드

public DispatchOrdersToClients ( Connection conn, int frame, byte data ) : void
conn Connection
frame int
data byte
리턴 void

DropClient() 공개 메소드

public DropClient ( Connection toDrop ) : void
toDrop Connection
리턴 void

DropClient() 공개 메소드

public DropClient ( Connection toDrop, int frame ) : void
toDrop Connection
frame int
리턴 void

EndGame() 공개 메소드

public EndGame ( ) : void
리턴 void

GetClient() 공개 메소드

public GetClient ( Connection conn ) : OpenRA.FileFormats.Session.Client
conn Connection
리턴 OpenRA.FileFormats.Session.Client

SendMessage() 공개 메소드

public SendMessage ( string text ) : void
text string
리턴 void

SendOrderTo() 공개 메소드

public SendOrderTo ( Connection conn, string order, string data ) : void
conn Connection
order string
data string
리턴 void

Server() 공개 메소드

public Server ( IPEndPoint endpoint, ServerSettings settings, ModData modData, bool dedicated ) : System
endpoint System.Net.IPEndPoint
settings ServerSettings
modData ModData
dedicated bool
리턴 System

Shutdown() 공개 메소드

public Shutdown ( ) : void
리턴 void

StartGame() 공개 메소드

public StartGame ( ) : void
리턴 void

SyncClientPing() 공개 메소드

public SyncClientPing ( ) : void
리턴 void

SyncClientToPlayerReference() 공개 정적인 메소드

public static SyncClientToPlayerReference ( OpenRA.FileFormats.Session c, OpenRA.FileFormats.PlayerReference pr ) : void
c OpenRA.FileFormats.Session
pr OpenRA.FileFormats.PlayerReference
리턴 void

SyncLobbyClients() 공개 메소드

public SyncLobbyClients ( ) : void
리턴 void

SyncLobbyGlobalSettings() 공개 메소드

public SyncLobbyGlobalSettings ( ) : void
리턴 void

SyncLobbyInfo() 공개 메소드

public SyncLobbyInfo ( ) : void
리턴 void

SyncLobbySlots() 공개 메소드

public SyncLobbySlots ( ) : void
리턴 void

프로퍼티 상세

Conns 공개적으로 프로퍼티

public List Conns
리턴 List

Dedicated 공개적으로 프로퍼티

public bool Dedicated
리턴 bool

Ip 공개적으로 프로퍼티

public IPAddress,System.Net Ip
리턴 System.Net.IPAddress

LobbyInfo 공개적으로 프로퍼티

public Session,OpenRA.FileFormats LobbyInfo
리턴 OpenRA.FileFormats.Session

Map 공개적으로 프로퍼티

public MapPreview Map
리턴 MapPreview

ModData 공개적으로 프로퍼티

public ModData ModData
리턴 ModData

Port 공개적으로 프로퍼티

public int Port
리턴 int

PreConns 공개적으로 프로퍼티

public List PreConns
리턴 List

Random 공개적으로 프로퍼티

public MersenneTwister,System Random
리턴 System.MersenneTwister

Settings 공개적으로 프로퍼티

public ServerSettings Settings
리턴 ServerSettings

TempBans 공개적으로 프로퍼티

public List TempBans
리턴 List

TwoHumansRequiredText 공개적으로 프로퍼티

public string TwoHumansRequiredText
리턴 string

internalState 보호되어 있는 프로퍼티

protected ServerState internalState
리턴 ServerState