C# 클래스 FBClient.Network.NetworkManager

파일 보기 프로젝트 열기: Noxalus/Final-Bomber 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsConnected bool
IsReady bool
PublicIp string

공개 메소드들

메소드 설명
Dispose ( ) : void
GameServer_PlacingBomb ( int clientId, Point position ) : void
Initiliaze ( ) : void
NetworkManager ( ) : System
Update ( ) : void

보호된 메소드들

메소드 설명
OnAddClient ( object sender, EventArgs e ) : void
OnAddPlayer ( object sender, EventArgs e ) : void

비공개 메소드들

메소드 설명
GameServer_BombExploded ( Point position ) : void
GameServer_MovePlayer ( object sender, MovePlayerArgs arg ) : void
GameServer_NewClient ( int clientId, string username, bool isReady ) : void
GameServer_PlayerKilled ( int victimId, int killerId ) : void
GameServer_PlayerSuicide ( int suicidalId ) : void
GameServer_PowerUpDrop ( PowerUpType type, Point position ) : void
GameServer_PowerUpPickUp ( int playerId, Point position, PowerUpType type ) : void
GameServer_UpdatePing ( float ping ) : void
GetMyIpAddress ( ) : string
GetPublicIP ( ) : string

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GameServer_PlacingBomb() 공개 메소드

public GameServer_PlacingBomb ( int clientId, Point position ) : void
clientId int
position Point
리턴 void

Initiliaze() 공개 메소드

public Initiliaze ( ) : void
리턴 void

NetworkManager() 공개 메소드

public NetworkManager ( ) : System
리턴 System

OnAddClient() 보호된 메소드

protected OnAddClient ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

OnAddPlayer() 보호된 메소드

protected OnAddPlayer ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

IsConnected 공개적으로 프로퍼티

public bool IsConnected
리턴 bool

IsReady 공개적으로 프로퍼티

public bool IsReady
리턴 bool

PublicIp 공개적으로 프로퍼티

public string PublicIp
리턴 string