示例#1
0
 public static void Initialize()
 {
     Command.Register("AutoTarget", new CommandCallback(AutoTargetCallback));
     //Command.Register( "pwn", new CommandCallback( Pwn ) );
     PacketHandler.RegisterServerToClientViewer(0x77, new PacketViewerCallback(MobileMoving));
     PacketHandler.RegisterServerToClientViewer(0x78, new PacketViewerCallback(MobileIncoming));
 }
示例#2
0
        public static void Initialize()
        {
            Command.Register("AddUseOnce", AddUseOnce);
            Command.Register("Time", Time);
            Command.Register("Where", Where);
            Command.Register("Ping", Ping);
            Command.Register("Help", Command.ListCommands);
            Command.Register("Echo", Echo);
            Command.Register("Macro", MacroCmd);
            Command.Register("Script", ScriptCmd);
            Command.Register("Hue", GetItemHue);
            Command.Register("Item", GetItemHue);
            Command.Register("Resync", Resync);
            Command.Register("Mobile", GetMobile);
            Command.Register("Weather", SetWeather);
            Command.Register("Season", SetSeason);
            Command.Register("Damage", DamageTrackerReport);
            Command.Register("Set", SetMacroVariable);
            Command.Register("Track", Track);
            Command.Register("Waypoint", Track);

            Command.Register("TestGump", CreateGump);
            Command.Register("Info", GetGumpInfo);

            Command.Register("SysMsgs", GetSystemMessages);
            Command.Register("SysMessages", GetSystemMessages);

            Command.Register("HotKeys", ShowHotKeyGump);

            Command.Register("Boat", ShowBoatControlGump);
        }
示例#3
0
文件: Stuff.cs 项目: uotools/razor-1
 public static void Initialize()
 {
     Command.Register("ResetFind", new CommandCallback(ResetFind));
     Command.Register("Find", new CommandCallback(Find));
     Command.Register("Walk", new CommandCallback(Walk));
     //Command.Register( "pwn", new CommandCallback( Pwnx0r ) );
     Command.Register("VisRange", new CommandCallback(VisRange));
 }
示例#4
0
 private static void TranslateSetup(string[] param)
 {
     //System.Threading.Thread t = new System.Threading.Thread( new System.Threading.ThreadStart( ClientCommunication.TranslateSetup ) );
     //t.Start();
     ClientCommunication.TranslateSetup();
     World.Player.SendMessage("Loading translator plugin configuration... (Use '-disable-t' to disable)");
     Command.Register("Disable-T", new CommandCallback(TranslateDisable));
 }
示例#5
0
 public static void Initialize()
 {
     Command.Register("where", new CommandCallback(Where));
     Command.Register("ping", new CommandCallback(Ping));
     Command.Register("reducecpu", new CommandCallback(ReNice));
     Command.Register("renice", new CommandCallback(ReNice));
     Command.Register("help", new CommandCallback(Command.ListCommands));
     Command.Register("listcommand", new CommandCallback(Command.ListCommands));
     Command.Register("echo", new CommandCallback(Echo));
     Command.Register("getserial", new CommandCallback(GetSerial));
     Command.Register("inspect", new CommandCallback(GetInfo));
     Command.Register("playscript", new CommandCallback(PlayScript));
     Command.Register("hideitem", new CommandCallback(HideItem));
 }
示例#6
0
        public static void Initialize()
        {
            Command.Register("AddUseOnce", new CommandCallback(AddUseOnce));
            Command.Register("Time", new CommandCallback(Time));
            Command.Register("Where", new CommandCallback(Where));
            Command.Register("Ping", new CommandCallback(Ping));
            Command.Register("ReduceCPU", new CommandCallback(ReNice));
            Command.Register("ReNice", new CommandCallback(ReNice));
            Command.Register("Help", new CommandCallback(Command.ListCommands));
            Command.Register("Echo", new CommandCallback(Echo));
            Command.Register("GetSerial", new CommandCallback(GetSerial));
            Command.Register("RPVInfo", new CommandCallback(GetRPVInfo));
            Command.Register("Macro", new CommandCallback(MacroCmd));

            Command.Register("Setup-T", new CommandCallback(TranslateSetup));
        }
示例#7
0
 public static void Initialize()
 {
     Command.Register("AddUseOnce", AddUseOnce);
     Command.Register("Time", Time);
     Command.Register("Where", Where);
     Command.Register("Ping", Ping);
     Command.Register("Help", Command.ListCommands);
     Command.Register("Echo", Echo);
     Command.Register("Macro", MacroCmd);
     Command.Register("Hue", GetItemHue);
     Command.Register("Item", GetItemHue);
     Command.Register("ClearItems", ClearItems);
     Command.Register("Resync", Resync);
     Command.Register("Mobile", GetMobile);
     Command.Register("Weather", SetWeather);
     Command.Register("Season", SetSeason);
     Command.Register("Damage", DamageTrackerReport);
 }
示例#8
0
        public static void Initialize()
        {
            Command.Register("AddUseOnce", AddUseOnce);
            Command.Register("Time", Time);
            Command.Register("Where", Where);
            Command.Register("Ping", Ping);
            Command.Register("Help", Command.ListCommands);
            Command.Register("Echo", Echo);
            Command.Register("GetSerial", GetSerial);
            Command.Register("RPVInfo", GetRPVInfo);
            Command.Register("Macro", MacroCmd);
            Command.Register("Hue", GetItemHue);
            Command.Register("Item", GetItemHue);
            Command.Register("ClearItems", ClearItems);
            Command.Register("Resync", Resync);
            Command.Register("Mobile", GetMobile);

            //Command.Register( "Setup-T", new CommandCallback( TranslateSetup ) );
        }
示例#9
0
 public WndCmd(uint msg, IntPtr handle, string cmd)
 {
     Msg  = msg;
     hWnd = handle;
     Command.Register(cmd, new CommandCallback(MyCallback));
 }