Пример #1
0
        private void OnRunCommand(ConsoleSdtd console, ConsoleCommand command, String[] args)
        {
            string[] commandAliases = command.Names();
            Puts("The command that was executed is " + command.ToString());
            Puts("This command is called with: ");
            foreach (string alias in commandAliases)
            {
                Puts(alias);
            }
            Puts("This command does the following: ");
            Puts(command.Description());

            Puts("You have used " + args.Length.ToString() + " arguments with this command: ");
            foreach (string argss in args)
            {
                Puts(argss);
            }

            console.SendResult("This is a test reply from Oxide to the console!!");

            HookCalled("OnRunCommand");
        }
 public LoadPrefabs(ConsoleSdtd cons) : base(cons)
 {
 }
 public GetGamePrefs(ConsoleSdtd cons)
     : base(cons)
 {
 }
 public GetGamePrefs(ConsoleSdtd cons) : base(cons)
 {
 }
Пример #5
0
 public Kill(ConsoleSdtd cons) : base(cons)
 {
 }
Пример #6
0
 public SavePrefab(ConsoleSdtd cons) : base(cons)
 {
 }
Пример #7
0
 public UnBan(ConsoleSdtd cons)
     : base(cons)
 {
 }
Пример #8
0
        //private readonly string prefabsXMLpath = UnityEngine.Application.dataPath + "/../Data/Worlds/Random Gen/PrefabsKFP.xml";
        //private readonly World world = CommonMappingFunctions.GetGameManager().World;

        public ListPrefabs(ConsoleSdtd cons) : base(cons)
        {
        }
Пример #9
0
 public GetTime(ConsoleSdtd cons)
     : base(cons)
 {
 }
Пример #10
0
 public ListPlayerIds(ConsoleSdtd cons) : base(cons)
 {
 }
 public SpawnSupplyCrate(ConsoleSdtd _console)
     : base(_console)
 {
     _manager = CommonMappingFunctions.GetGameManager();
 }
Пример #12
0
 //private readonly string prefabsXMLpath = UnityEngine.Application.dataPath + "/../Data/Worlds/Random Gen/PrefabsKFP.xml";
 //private readonly World world = CommonMappingFunctions.GetGameManager().World;
 public ListPrefabs(ConsoleSdtd cons)
     : base(cons)
 {
 }
Пример #13
0
        private void OnRunCommand(ConsoleSdtd console, ConsoleCommand command, String[] args)
        {
            string[] commandAliases = command.Names();
            Puts("The command that was executed is " + command.ToString());
            Puts("This command is called with: ");
            foreach (string alias in commandAliases)
                Puts(alias);
            Puts("This command does the following: ");
            Puts(command.Description());

            Puts("You have used " + args.Length.ToString() + " arguments with this command: ");
            foreach (string argss in args)
                Puts(argss);

            console.SendResult("This is a test reply from Oxide to the console!!");

            HookCalled("OnRunCommand");
        }
Пример #14
0
 public Recipes(ConsoleSdtd cons) : base(cons)
 {
     //K = cons.issuerOfCurrentClientCommand;
 }
Пример #15
0
 public LoadPrefabs(ConsoleSdtd cons)
     : base(cons)
 {
 }
Пример #16
0
 public Version(ConsoleSdtd cons)
     : base(cons)
 {
 }
Пример #17
0
 public SavePrefab(ConsoleSdtd cons)
     : base(cons)
 {
 }
Пример #18
0
 public Kill(ConsoleSdtd cons)
     : base(cons)
 {
 }
Пример #19
0
 public SetTimeReal(ConsoleSdtd cons) : base(cons)
 {
 }
Пример #20
0
 public Version(ConsoleSdtd cons) : base(cons)
 {
 }
 public SpawnSupplyCrate(ConsoleSdtd _console) : base(_console)
 {
     _manager = CommonMappingFunctions.GetGameManager();
 }
Пример #22
0
 public GetTime(ConsoleSdtd cons) : base(cons)
 {
 }
Пример #23
0
 public UnBan(ConsoleSdtd cons) : base(cons)
 {
 }
 public ListPlayerIds(ConsoleSdtd cons)
     : base(cons)
 {
 }
Пример #25
0
 public SetTimeReal(ConsoleSdtd cons)
     : base(cons)
 {
 }