public new Client OnAttached() { Incoming.InitializeMapLoad(this); AddServerHandler(0x04, Incoming.ClientLocationUpdated); AddServerHandler(0x07, Incoming.EntitiesAdded); AddServerHandler(0x0A, Incoming.Barmessage); AddServerHandler(0x0B, Incoming.ClientPlayerWalked); AddServerHandler(0x0C, Incoming.ObjectWalked); AddServerHandler(0x0D, Incoming.ChatMessages); AddServerHandler(0x0E, Incoming.ObjectRemoved); AddServerHandler(0x11, Incoming.EntitiesChangedDirection); AddServerHandler(0x15, Incoming.MapLoaded); AddServerHandler(0x19, Incoming.PlaySound); AddServerHandler(0x1A, Incoming.PlayerAction); AddServerHandler(0x29, Incoming.Animation); AddServerHandler(0x33, Incoming.AislingsAdded); AddServerHandler(0x3A, Incoming.Sidebar); AddServerHandler(0x39, Incoming.ProfileRequested); AddServerHandler(0x05, Incoming.PlayerSerialAssigned); AddServerHandler(0x06, Incoming.LoadingMap); AddServerHandler(0x37, Incoming.EquipmentUpdated); AddClientHandler(0x03, Outgoing.LoggingIn); AddClientHandler(0x0B, Outgoing.LoggingOut); AddClientHandler(0x1C, Outgoing.UseInventorySlot); AddClientHandler(0x0F, Outgoing.SpellCasted); AddClientHandler(0x0D, Outgoing.SpellBegin); PreparePrelims(); base.OnAttached(); return(this); }
public new Client OnAttached() { //Initialize Map from Cache Incoming.InitializeMapLoad(this); AddServerHandlers(); AddClientHandlers(); PreparePrelims(); base.OnAttached(); return(this); }