Пример #1
0
        public virtual void Execute(string cmd)
        {
            switch (cmd)
            {
            case "SAVE":
            {
                if (SaveEnabled)
                {
                    AutoPvP.Save();
                }
            }
            break;

            case "LOAD":
            {
                if (LoadEnabled)
                {
                    AutoPvP.Load();
                }
            }
            break;

            case "SYNC":
            {
                if (SyncEnabled)
                {
                    AutoPvP.Sync();
                }
            }
            break;
            }
        }