public ServerToClientMessage(GameEndBroadcast end) { Type = ServerToClientMessageType.GameEnd; GameEnd = end; }
public ServerToClientMessage(UnitPurchasedBroadcast unitPurchased) { Type = ServerToClientMessageType.UnitPurchased; UnitPurchased = unitPurchased; }
public ServerToClientMessage(UnitUpgradedBroadcast unitUpgraded) { Type = ServerToClientMessageType.UnitUpgraded; UnitUpgraded = unitUpgraded; }
public ServerToClientMessage(UnitDeployment deployment) { Type = ServerToClientMessageType.UnitDeployed; UnitDeployment = deployment; }
public ServerToClientMessage(UnitReinforcementBroadcast unitReinforced) { Type = ServerToClientMessageType.UnitReinforced; UnitReinforced = unitReinforced; }
public ServerToClientMessage(ErrorMessage message) { Type = ServerToClientMessageType.Error; ErrorMessage = message; }
public ServerToClientMessage(UnitCombatBroadcast attack) { Type = ServerToClientMessageType.UnitAttack; UnitAttack = attack; }
public ServerToClientMessage(NewTurnBroadcast newTurn) { Type = ServerToClientMessageType.NewTurn; NewTurn = newTurn; }
public ServerToClientMessage(UnitMoveBroadcast move) { Type = ServerToClientMessageType.UnitMove; UnitMove = move; }
public ServerToClientMessage(GameStart start) { Type = ServerToClientMessageType.GameStart; GameStart = start; }
public ServerToClientMessage(InitialDeployment deployment) { Type = ServerToClientMessageType.InitialDeployment; InitialDeployment = deployment; }
public ServerToClientMessage(ViewPublicGamesReply reply) { Type = ServerToClientMessageType.ViewPublicGamesReply; ViewPublicGamesReply = reply; }
public ServerToClientMessage(CreateGameReply reply) { Type = ServerToClientMessageType.CreateGameReply; CreateGameReply = reply; }
public ServerToClientMessage(LoginReply reply) { Type = ServerToClientMessageType.LoginReply; LoginReply = reply; }
ServerToClientMessage(ServerToClientMessageType type) { Type = type; }
public ServerToClientMessage(UnitEntrenched unitEntrenched) { Type = ServerToClientMessageType.UnitEntrenched; UnitEntrenched = unitEntrenched; }
public ServerToClientMessageEventArgs(ServerToClientMessageType type) { Type = type; }
public ServerToClientMessage(ServerToClientMessageType type) { Type = type; }