Exemple #1
0
 public ApiShootAppliedCommand(ApiCommandType commandType, V target, long power, long damage, long damageDecreaseFactor)
     : base(commandType)
 {
     Target = target;
     Power  = power;
     Damage = damage;
     DamageDecreaseFactor = damageDecreaseFactor;
 }
Exemple #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;
 }
Exemple #3
0
 public ApiSplitCommand(ApiCommandType commandType, long shipId, ApiShipMatter newShipMatter)
     : base(commandType, shipId)
 {
     NewShipMatter = newShipMatter;
 }
Exemple #4
0
 public ApiShootCommand(ApiCommandType commandType, long shipId, V target, long power)
     : base(commandType, shipId)
 {
     Target = target;
     Power  = power;
 }
Exemple #5
0
 public ApiBurnCommand(ApiCommandType commandType, long shipId, V burnVelocity)
     : base(commandType, shipId)
 {
     BurnVelocity = burnVelocity;
 }
Exemple #6
0
 public ApiShipCommand(ApiCommandType commandType, long shipId)
 {
     CommandType = commandType;
     ShipId      = shipId;
 }
Exemple #7
0
 public ApiDetonateAppliedCommand(ApiCommandType commandType, long power, long powerDecreaseStep)
     : base(commandType)
 {
     Power             = power;
     PowerDecreaseStep = powerDecreaseStep;
 }
Exemple #8
0
 public ApiSplitAppliedCommand(ApiCommandType commandType, ApiShipMatter newShip)
     : base(commandType)
 {
     NewShip = newShip;
 }
Exemple #9
0
 public ApiBurnAppliedCommand(ApiCommandType commandType, V burnVelocity)
     : base(commandType)
 {
     BurnVelocity = burnVelocity;
 }
Exemple #10
0
 public ApiShipAppliedCommand(ApiCommandType commandType)
 {
     CommandType = commandType;
 }