Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.16 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows.Forms;
  7. using System.Runtime.Serialization;
  8. using ArcheBot.Bot.Classes;
  9.  
  10. namespace Hades
  11. {
  12.     public class Start : ArcheBot.Bot.Classes.Core
  13.     {
  14.         public HadesForm form;
  15.         public static string GetPluginAuthor()
  16.         {
  17.             return "Silver";
  18.         }
  19.  
  20.         public static string GetPluginVersion()
  21.         {
  22.             return "0.9.6";
  23.         }
  24.  
  25.         public static string GetPluginDescription()
  26.         {
  27.             return "HAIL HYDRA";
  28.         }
  29.  
  30.  
  31.  
  32.         Core c1;
  33.         //Call on plugin start
  34.         public void PluginRun()
  35.         {
  36.             Log("Start");
  37.             onClientP += packetHandler;
  38.             Log(me.name);
  39.  
  40.             c1 = GetAccounts()[4].GetCore();
  41.             Log(c1.me.name);
  42.  
  43.             c1.onClientP += packetHandler;
  44.  
  45.  
  46.             Log("End");
  47.         }
  48.  
  49.         //Call on plugin stop
  50.         public void PluginStop()
  51.         {
  52.  
  53.         }
  54.  
  55.  
  56.         public void packetHandler(int id, byte[] data)
  57.         {
  58.  
  59.         }
  60.     }
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement