Example #1
0
 public ServerToClientMessage(GameEndBroadcast end)
 {
     Type    = ServerToClientMessageType.GameEnd;
     GameEnd = end;
 }
Example #2
0
 public ServerToClientMessage(UnitPurchasedBroadcast unitPurchased)
 {
     Type          = ServerToClientMessageType.UnitPurchased;
     UnitPurchased = unitPurchased;
 }
Example #3
0
 public ServerToClientMessage(UnitUpgradedBroadcast unitUpgraded)
 {
     Type         = ServerToClientMessageType.UnitUpgraded;
     UnitUpgraded = unitUpgraded;
 }
Example #4
0
 public ServerToClientMessage(UnitDeployment deployment)
 {
     Type           = ServerToClientMessageType.UnitDeployed;
     UnitDeployment = deployment;
 }
Example #5
0
 public ServerToClientMessage(UnitReinforcementBroadcast unitReinforced)
 {
     Type           = ServerToClientMessageType.UnitReinforced;
     UnitReinforced = unitReinforced;
 }
Example #6
0
 public ServerToClientMessage(ErrorMessage message)
 {
     Type         = ServerToClientMessageType.Error;
     ErrorMessage = message;
 }
Example #7
0
 public ServerToClientMessage(UnitCombatBroadcast attack)
 {
     Type       = ServerToClientMessageType.UnitAttack;
     UnitAttack = attack;
 }
Example #8
0
 public ServerToClientMessage(NewTurnBroadcast newTurn)
 {
     Type    = ServerToClientMessageType.NewTurn;
     NewTurn = newTurn;
 }
Example #9
0
 public ServerToClientMessage(UnitMoveBroadcast move)
 {
     Type     = ServerToClientMessageType.UnitMove;
     UnitMove = move;
 }
Example #10
0
 public ServerToClientMessage(GameStart start)
 {
     Type      = ServerToClientMessageType.GameStart;
     GameStart = start;
 }
Example #11
0
 public ServerToClientMessage(InitialDeployment deployment)
 {
     Type = ServerToClientMessageType.InitialDeployment;
     InitialDeployment = deployment;
 }
Example #12
0
 public ServerToClientMessage(ViewPublicGamesReply reply)
 {
     Type = ServerToClientMessageType.ViewPublicGamesReply;
     ViewPublicGamesReply = reply;
 }
Example #13
0
 public ServerToClientMessage(CreateGameReply reply)
 {
     Type            = ServerToClientMessageType.CreateGameReply;
     CreateGameReply = reply;
 }
Example #14
0
 public ServerToClientMessage(LoginReply reply)
 {
     Type       = ServerToClientMessageType.LoginReply;
     LoginReply = reply;
 }
Example #15
0
 ServerToClientMessage(ServerToClientMessageType type)
 {
     Type = type;
 }
Example #16
0
 public ServerToClientMessage(UnitEntrenched unitEntrenched)
 {
     Type           = ServerToClientMessageType.UnitEntrenched;
     UnitEntrenched = unitEntrenched;
 }
Example #17
0
 public ServerToClientMessageEventArgs(ServerToClientMessageType type)
 {
     Type = type;
 }
Example #18
0
 public ServerToClientMessage(ServerToClientMessageType type)
 {
     Type = type;
 }