Exemple #1
0
 internal void ControlExit(int cmd)
 {
     Controller.Commandment commandment = this.commandment;
     this.commandment = new Controller.Commandment(cmd & 32767 | 131072);
     try
     {
         this.OnControlExit();
     }
     finally
     {
         this.commandment = commandment;
     }
 }
Exemple #2
0
 internal void ControlEngauge(int cmd)
 {
     Controller.Commandment commandment = this.commandment;
     this.commandment = new Controller.Commandment(cmd & 32767 | 65536);
     try
     {
         this.OnControlEngauge();
     }
     finally
     {
         this.commandment = commandment;
     }
 }
Exemple #3
0
 internal void ControlEnter(int cmd)
 {
     Controller.Commandment commandment = this.commandment;
     this.commandment = new Controller.Commandment(cmd & 32767 | 32768);
     try
     {
         this.OnControlEnter();
     }
     finally
     {
         this.commandment = commandment;
     }
 }
Exemple #4
0
 internal void ControlCease(int cmd)
 {
     Controller.Commandment commandment = this.commandment;
     this.commandment = new Controller.Commandment(cmd & 32767 | 98304);
     try
     {
         this.OnControlCease();
     }
     finally
     {
         this.commandment = commandment;
     }
 }