Пример #1
0
        public override async Task UpdateExistingCommand(CommandModelBase command)
        {
            await base.UpdateExistingCommand(command);

            VolcanoGameCommandModel gCommand = (VolcanoGameCommandModel)command;

            gCommand.StatusArgument           = this.StatusArgument;
            gCommand.Stage1DepositCommand     = this.Stage1DepositCommand;
            gCommand.Stage1StatusCommand      = this.Stage1StatusCommand;
            gCommand.Stage2MinimumAmount      = this.Stage2MinimumAmount;
            gCommand.Stage2DepositCommand     = this.Stage2DepositCommand;
            gCommand.Stage2StatusCommand      = this.Stage2StatusCommand;
            gCommand.Stage3MinimumAmount      = this.Stage3MinimumAmount;
            gCommand.Stage3DepositCommand     = this.Stage3DepositCommand;
            gCommand.Stage3StatusCommand      = this.Stage3StatusCommand;
            gCommand.PayoutProbability        = this.PayoutProbability;
            gCommand.PayoutMinimumPercentage  = this.PayoutMinimumPercentage;
            gCommand.PayoutMaximumPercentage  = this.PayoutMaximumPercentage;
            gCommand.PayoutCommand            = this.PayoutCommand;
            gCommand.CollectArgument          = this.CollectArgument;
            gCommand.CollectTimeLimit         = this.CollectTimeLimit;
            gCommand.CollectMinimumPercentage = this.CollectMinimumPercentage;
            gCommand.CollectMaximumPercentage = this.CollectMaximumPercentage;
            gCommand.CollectCommand           = this.CollectCommand;
        }
Пример #2
0
 public VolcanoGameCommandEditorWindowViewModel(VolcanoGameCommandModel command)
     : base(command)
 {
     this.StatusArgument           = command.StatusArgument;
     this.Stage1DepositCommand     = command.Stage1DepositCommand;
     this.Stage1StatusCommand      = command.Stage1StatusCommand;
     this.Stage2MinimumAmount      = command.Stage2MinimumAmount;
     this.Stage2DepositCommand     = command.Stage2DepositCommand;
     this.Stage2StatusCommand      = command.Stage2StatusCommand;
     this.Stage3MinimumAmount      = command.Stage3MinimumAmount;
     this.Stage3DepositCommand     = command.Stage3DepositCommand;
     this.Stage3StatusCommand      = command.Stage3StatusCommand;
     this.PayoutProbability        = command.PayoutProbability;
     this.PayoutMinimumPercentage  = command.PayoutMinimumPercentage;
     this.PayoutMaximumPercentage  = command.PayoutMaximumPercentage;
     this.PayoutCommand            = command.PayoutCommand;
     this.CollectArgument          = command.CollectArgument;
     this.CollectTimeLimit         = command.CollectTimeLimit;
     this.CollectMinimumPercentage = command.CollectMinimumPercentage;
     this.CollectMaximumPercentage = command.CollectMaximumPercentage;
     this.CollectCommand           = command.CollectCommand;
 }