Exemplo n.º 1
0
 public Command_Info(string desc, char key, Command_Code cmd, hook_func hook = null, prereq_func prereq = null)
 {
     this.desc = desc;
     this.key  = key;
     this.cmd  = cmd;
     if (hook != null)
     {
         this.hook = hook;
     }
     if (prereq != null)
     {
         this.prereq = prereq;
     }
 }
Exemplo n.º 2
0
            public Game_Event.Event_Type type; /* PR_* flag this corresponds to */

            #endregion Fields

            #region Constructors

            public side_handler_t(hook_func a, int b, Game_Event.Event_Type c)
            {
                hook = a;
                priority = b;
                type = c;
            }
Exemplo n.º 3
0
 public side_handler_t(hook_func a, int b, Game_Event.Event_Type c)
 {
     hook     = a;
     priority = b;
     type     = c;
 }
Exemplo n.º 4
0
 public Command_Info(string desc, char key, Command_Code cmd, hook_func hook = null, prereq_func prereq = null)
 {
     this.desc = desc;
     this.key = key;
     this.cmd = cmd;
     if(hook != null) {
         this.hook = hook;
     }
     if(prereq != null) {
         this.prereq = prereq;
     }
 }