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