public static void Initialize() { if (Settings.Enabled) { EventSink.Login += new LoginEventHandler(EventSink_Login); ProtocolExtensions.Register(0xFF, true, new OnPacketReceive(OnHandshakeResponse)); } }
public static void Initialize() { if (Settings.PartyTrack) { ProtocolExtensions.Register(0x00, true, new OnPacketReceive(OnPartyTrack)); } if (Settings.GuildTrack) { ProtocolExtensions.Register(0x01, true, new OnPacketReceive(OnGuildTrack)); } }