Пример #1
0
 public ApiShootAppliedCommand(ApiCommandType commandType, V target, long power, long damage, long damageDecreaseFactor)
     : base(commandType)
 {
     Target = target;
     Power  = power;
     Damage = damage;
     DamageDecreaseFactor = damageDecreaseFactor;
 }
Пример #2
0
 public PlanetWarsState(long level, PlanetWarsStatus status, long playerKey, ApiPlayerRole myRole, long totalScore, ApiPlayerStatus gameResultStatus, ApiShip selectedShip, IEnumerable <ApiShipCommand> commands, ApiCommandType editingCommand, ApiUniverse universe, ApiJoinGameInfo gameJoinInfo, ApiGameLog gameLog, ApiShipMatter shipMatter)
 {
     Level            = level;
     Status           = status;
     PlayerKey        = playerKey;
     MyRole           = myRole;
     TotalScore       = totalScore;
     GameResultStatus = gameResultStatus;
     SelectedShip     = selectedShip;
     Commands         = commands;
     EditingCommand   = editingCommand;
     Universe         = universe;
     GameJoinInfo     = gameJoinInfo;
     GameLog          = gameLog;
     ShipMatter       = shipMatter;
 }
Пример #3
0
 public ApiSplitCommand(ApiCommandType commandType, long shipId, ApiShipMatter newShipMatter)
     : base(commandType, shipId)
 {
     NewShipMatter = newShipMatter;
 }
Пример #4
0
 public ApiShootCommand(ApiCommandType commandType, long shipId, V target, long power)
     : base(commandType, shipId)
 {
     Target = target;
     Power  = power;
 }
Пример #5
0
 public ApiBurnCommand(ApiCommandType commandType, long shipId, V burnVelocity)
     : base(commandType, shipId)
 {
     BurnVelocity = burnVelocity;
 }
Пример #6
0
 public ApiShipCommand(ApiCommandType commandType, long shipId)
 {
     CommandType = commandType;
     ShipId      = shipId;
 }
Пример #7
0
 public ApiDetonateAppliedCommand(ApiCommandType commandType, long power, long powerDecreaseStep)
     : base(commandType)
 {
     Power             = power;
     PowerDecreaseStep = powerDecreaseStep;
 }
Пример #8
0
 public ApiSplitAppliedCommand(ApiCommandType commandType, ApiShipMatter newShip)
     : base(commandType)
 {
     NewShip = newShip;
 }
Пример #9
0
 public ApiBurnAppliedCommand(ApiCommandType commandType, V burnVelocity)
     : base(commandType)
 {
     BurnVelocity = burnVelocity;
 }
Пример #10
0
 public ApiShipAppliedCommand(ApiCommandType commandType)
 {
     CommandType = commandType;
 }