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; } }
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; }
public side_handler_t(hook_func a, int b, Game_Event.Event_Type c) { hook = a; priority = b; type = c; }
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; } }