|
enum | RMT {
RMT.GameStartInfo = 0,
RMT.Map = 1,
RMT.StartGame = 9,
RMT.PlayerInfo = 3,
RMT.PlayerPosAndSpeed = 2,
RMT.RemovePlayer = 4,
RMT.PlayerPlacingBomb = 5,
RMT.BombExploded = 6,
RMT.Burn = 7,
RMT.ExplodeTile = 8,
RMT.PowerupDrop = 11,
RMT.PowerupPick = 12,
RMT.SuddenDeath = 13,
RMT.SDExplosion = 14,
RMT.End = 10,
RMT.RoundEnd = 15
} |
|
enum | SMT {
SMT.NeedMap = 6,
SMT.Ready = 7,
SMT.MoveLeft = 0,
SMT.MoveUp = 1,
SMT.MoveRight = 2,
SMT.MoveDown = 3,
SMT.Standing = 4,
SMT.PlaceBomb = 5
} |
|
|
void | StartClientConnection (string ip, string port) |
|
void | RunClientConnection () |
|
void | EndClientConnection (string reason) |
|
delegate void | StartInfoEventHandler () |
|
void | RecieveGameInfo (string mapMd5) |
|
void | RecieveMap (NetIncomingMessage message) |
|
delegate void | StartGameEventHandler (bool gameInProgress, int playerId, float moveSpeed, int suddenDeathTime, List< Point > wallPositions) |
|
delegate void | NewPlayerEventHandler (int playerID, float moveSpeed, string username, int score) |
|
void | RecievePlayerInfo (int playerID, float moveSpeed, string username, int score) |
|
delegate void | RemovePlayerEventHandler (int playerID) |
|
void | RecieveRemovePlayer (int playerID) |
|
delegate void | MovePlayerEventHandler (object sender, MovePlayerArgs e) |
|
delegate void | PlacingBombEventHandler (int playerId, Point position) |
|
void | RecievePlacingBomb (int playerId, Point position) |
|
delegate void | BombExplodedEventHandler (Point position) |
|
void | RecieveBombExploded (NetIncomingMessage message) |
|
delegate void | PowerUpDropEventHandler (PowerUpType type, Point position) |
|
void | RecievePowerupDrop (PowerUpType type, Point position) |
|
delegate void | SuddenDeathEventHandler () |
|
void | RecieveSuddenDeath () |
|
delegate void | SDExplosionEventHandler (int tilePos) |
|
void | RecieveSDExplosion (int tilePos) |
|
delegate void | RoundEndEventHandler () |
|
void | RecieveRoundEnd () |
|
delegate void | EndEventHandler (bool Won) |
|
void | RecieveEnd (bool Won) |
|
delegate void | UpdatePingEventHandler (float ping) |
|
void | RecievePing (float ping) |
|
void | SendNeedMap () |
|
void | SendIsReady () |
|
void | SendMovement (byte direction) |
|
void | SendBombPlacing () |
|
void | DataProcessing (byte type, NetIncomingMessage message) |
|
void | SetGameManager (GameManager gameManager) |
|
Definition at line 8 of file ClientConnection.cs.
Enumerator |
---|
GameStartInfo |
|
Map |
|
StartGame |
|
PlayerInfo |
|
PlayerPosAndSpeed |
|
RemovePlayer |
|
PlayerPlacingBomb |
|
BombExploded |
|
Burn |
|
ExplodeTile |
|
PowerupDrop |
|
PowerupPick |
|
SuddenDeath |
|
SDExplosion |
|
End |
|
RoundEnd |
|
Definition at line 10 of file ClientMessageType.cs.
Enumerator |
---|
NeedMap |
|
Ready |
|
MoveLeft |
|
MoveUp |
|
MoveRight |
|
MoveDown |
|
Standing |
|
PlaceBomb |
|
Definition at line 30 of file ClientMessageType.cs.
delegate void FBClient.Network.GameServer.BombExplodedEventHandler |
( |
Point |
position | ) |
|
void FBClient.Network.GameServer.DataProcessing |
( |
byte |
type, |
|
|
NetIncomingMessage |
message |
|
) |
| |
void FBClient.Network.GameServer.EndClientConnection |
( |
string |
reason | ) |
|
delegate void FBClient.Network.GameServer.EndEventHandler |
( |
bool |
Won | ) |
|
delegate void FBClient.Network.GameServer.MovePlayerEventHandler |
( |
object |
sender, |
|
|
MovePlayerArgs |
e |
|
) |
| |
delegate void FBClient.Network.GameServer.NewPlayerEventHandler |
( |
int |
playerID, |
|
|
float |
moveSpeed, |
|
|
string |
username, |
|
|
int |
score |
|
) |
| |
virtual void FBClient.Network.GameServer.OnBombExploded |
( |
Point |
position | ) |
|
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnEnd |
( |
bool |
Won | ) |
|
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnMovePlayerAction |
( |
MovePlayerArgs |
e | ) |
|
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnNewPlayer |
( |
int |
playerID, |
|
|
float |
moveSpeed, |
|
|
string |
username, |
|
|
int |
score |
|
) |
| |
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnPing |
( |
float |
ping | ) |
|
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnPlacingBomb |
( |
int |
playerId, |
|
|
Point |
position |
|
) |
| |
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnPowerUpDrop |
( |
PowerUpType |
type, |
|
|
Point |
position |
|
) |
| |
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnRemovePlayer |
( |
int |
playerID | ) |
|
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnRoundEnd |
( |
| ) |
|
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnSDExplosion |
( |
int |
tilePos | ) |
|
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnStartGame |
( |
bool |
gameInProgress, |
|
|
int |
playerId, |
|
|
float |
moveSpeed, |
|
|
int |
suddenDeathTime, |
|
|
List< Point > |
wallPositions |
|
) |
| |
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnStartInfo |
( |
| ) |
|
|
protectedvirtual |
virtual void FBClient.Network.GameServer.OnSuddenDeath |
( |
| ) |
|
|
protectedvirtual |
delegate void FBClient.Network.GameServer.PlacingBombEventHandler |
( |
int |
playerId, |
|
|
Point |
position |
|
) |
| |
delegate void FBClient.Network.GameServer.PowerUpDropEventHandler |
( |
PowerUpType |
type, |
|
|
Point |
position |
|
) |
| |
void FBClient.Network.GameServer.RecieveBombExploded |
( |
NetIncomingMessage |
message | ) |
|
void FBClient.Network.GameServer.RecieveEnd |
( |
bool |
Won | ) |
|
void FBClient.Network.GameServer.RecieveGameInfo |
( |
string |
mapMd5 | ) |
|
void FBClient.Network.GameServer.RecieveMap |
( |
NetIncomingMessage |
message | ) |
|
void FBClient.Network.GameServer.RecievePing |
( |
float |
ping | ) |
|
void FBClient.Network.GameServer.RecievePlacingBomb |
( |
int |
playerId, |
|
|
Point |
position |
|
) |
| |
void FBClient.Network.GameServer.RecievePlayerInfo |
( |
int |
playerID, |
|
|
float |
moveSpeed, |
|
|
string |
username, |
|
|
int |
score |
|
) |
| |
void FBClient.Network.GameServer.RecievePowerupDrop |
( |
PowerUpType |
type, |
|
|
Point |
position |
|
) |
| |
void FBClient.Network.GameServer.RecieveRemovePlayer |
( |
int |
playerID | ) |
|
void FBClient.Network.GameServer.RecieveRoundEnd |
( |
| ) |
|
void FBClient.Network.GameServer.RecieveSDExplosion |
( |
int |
tilePos | ) |
|
void FBClient.Network.GameServer.RecieveSuddenDeath |
( |
| ) |
|
delegate void FBClient.Network.GameServer.RemovePlayerEventHandler |
( |
int |
playerID | ) |
|
delegate void FBClient.Network.GameServer.RoundEndEventHandler |
( |
| ) |
|
void FBClient.Network.GameServer.RunClientConnection |
( |
| ) |
|
delegate void FBClient.Network.GameServer.SDExplosionEventHandler |
( |
int |
tilePos | ) |
|
void FBClient.Network.GameServer.SendBombPlacing |
( |
| ) |
|
void FBClient.Network.GameServer.SendIsReady |
( |
| ) |
|
void FBClient.Network.GameServer.SendMovement |
( |
byte |
direction | ) |
|
void FBClient.Network.GameServer.SendNeedMap |
( |
| ) |
|
void FBClient.Network.GameServer.SetGameManager |
( |
GameManager |
gameManager | ) |
|
void FBClient.Network.GameServer.StartClientConnection |
( |
string |
ip, |
|
|
string |
port |
|
) |
| |
delegate void FBClient.Network.GameServer.StartGameEventHandler |
( |
bool |
gameInProgress, |
|
|
int |
playerId, |
|
|
float |
moveSpeed, |
|
|
int |
suddenDeathTime, |
|
|
List< Point > |
wallPositions |
|
) |
| |
delegate void FBClient.Network.GameServer.StartInfoEventHandler |
( |
| ) |
|
delegate void FBClient.Network.GameServer.SuddenDeathEventHandler |
( |
| ) |
|
delegate void FBClient.Network.GameServer.UpdatePingEventHandler |
( |
float |
ping | ) |
|
const int FBClient.Network.GameServer.Ping = 10 |
bool FBClient.Network.GameServer.Connected |
|
get |
bool FBClient.Network.GameServer.Disconnected |
|
get |
bool FBClient.Network.GameServer.HasStarted |
|
get |
The documentation for this class was generated from the following files: