public override void onCmdStarted(global::Command cmd)
 {
     if (monCmdStarted_12.CheckShouldInvokeBase(this.instance))
     {
         base.onCmdStarted(cmd);
     }
     else
     {
         monCmdStarted_12.Invoke(this.instance, cmd);
     }
 }
 public override void receiveCommand(global::Command cmd)
 {
     if (mreceiveCommand_67.CheckShouldInvokeBase(this.instance))
     {
         base.receiveCommand(cmd);
     }
     else
     {
         mreceiveCommand_67.Invoke(this.instance, cmd);
     }
 }
 public override void addDelayCmd(global::Command cmd)
 {
     if (maddDelayCmd_10.CheckShouldInvokeBase(this.instance))
     {
         base.addDelayCmd(cmd);
     }
     else
     {
         maddDelayCmd_10.Invoke(this.instance, cmd);
     }
 }
Esempio n. 4
0
 public void MergeFrom(Packet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Type != 0)
     {
         Type = other.Type;
     }
     if (other.command_ != null)
     {
         if (command_ == null)
         {
             command_ = new global::Command();
         }
         Command.MergeFrom(other.Command);
     }
     if (other.bid_ != null)
     {
         if (bid_ == null)
         {
             bid_ = new global::Bid();
         }
         Bid.MergeFrom(other.Bid);
     }
     if (other.action_ != null)
     {
         if (action_ == null)
         {
             action_ = new global::Action();
         }
         Action.MergeFrom(other.Action);
     }
     if (other.stage_ != null)
     {
         if (stage_ == null)
         {
             stage_ = new global::Stage();
         }
         Stage.MergeFrom(other.Stage);
     }
     if (other.Message.Length != 0)
     {
         Message = other.Message;
     }
     if (other.Status != false)
     {
         Status = other.Status;
     }
 }
Esempio n. 5
0
        static StackObject *showDebugInfo_2(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            global::Command instance_of_this_method = (global::Command)typeof(global::Command).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.showDebugInfo();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
Esempio n. 6
0
        static StackObject *execute_1(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            global::Command instance_of_this_method = (global::Command)typeof(global::Command).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            instance_of_this_method.execute();

            return(__ret);
        }
Esempio n. 7
0
        static StackObject *pushCommand_4(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            global::CommandReceiver @cmdReceiver = (global::CommandReceiver)typeof(global::CommandReceiver).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            global::Command @cmd = (global::Command)typeof(global::Command).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);


            global::FrameBase.pushCommand(@cmd, @cmdReceiver);

            return(__ret);
        }
Esempio n. 8
0
    public void MergeFrom(pb::CodedInputStream input)
    {
        uint tag;

        while ((tag = input.ReadTag()) != 0)
        {
            switch (tag)
            {
            default:
                input.SkipLastField();
                break;

            case 8: {
                type_ = (global::Packet.Types.Type)input.ReadEnum();
                break;
            }

            case 18: {
                if (command_ == null)
                {
                    command_ = new global::Command();
                }
                input.ReadMessage(command_);
                break;
            }

            case 26: {
                if (bid_ == null)
                {
                    bid_ = new global::Bid();
                }
                input.ReadMessage(bid_);
                break;
            }

            case 34: {
                if (action_ == null)
                {
                    action_ = new global::Action();
                }
                input.ReadMessage(action_);
                break;
            }

            case 42: {
                if (stage_ == null)
                {
                    stage_ = new global::Stage();
                }
                input.ReadMessage(stage_);
                break;
            }

            case 50: {
                Message = input.ReadString();
                break;
            }

            case 56: {
                Status = input.ReadBool();
                break;
            }
            }
        }
    }