public void RegisterCvars(CVar[] cvars)
 {
     foreach (CVar cvar in cvars)
     {
         RegisterCvar(cvar);
     }
 }
Пример #2
0
        //////////////////////////////////////////////////////////////////////////////

        #region Command register

        public bool RegisterCvar(CVar cvar)
        {
            return(RegisterCommand(new CVarCommand(cvar)));
        }
 public bool RegisterCvar(CVar cvar)
 {
     return RegisterCommand(new CVarCommand(cvar));
 }
Пример #4
0
 public CVarCommand(CVar cvar)
     : base(cvar.name)
 {
     this.cvar = cvar;
 }
 public CVarCommand(CVar cvar)
     : base(cvar.name)
 {
     this.cvar = cvar;
 }
 private int CompareVars(CVar a, CVar b)
 {
     return a.name.CompareTo(b.name);
 }
Пример #7
0
 private int CompareVars(CVar a, CVar b)
 {
     return(a.name.CompareTo(b.name));
 }