private void AddPackets() { //Profile socketOptions.AddPacket(InputPacketsEnum.SecurityAESResult, Packets.Security.AES_SK_Public.Run); socketOptions.AddPacket(InputPacketsEnum.LogInResult, Packets.Profile.LogIn.Run); socketOptions.AddPacket(InputPacketsEnum.AnotherAuth, Packets.Profile.AnotherAuth.Run); socketOptions.AddPacket(InputPacketsEnum.RecoverySessionResult, Packets.Profile.RecoverySession.Run); socketOptions.AddPacket(InputPacketsEnum.ProfileDataResult, Packets.Profile.ProfileData.Run); //Data socketOptions.AddPacket(InputPacketsEnum.CharacterDataResult, Packets.InfoData.CharacterData.Run); socketOptions.AddPacket(InputPacketsEnum.ConfigDataResult, Packets.InfoData.ConfigData.Run); socketOptions.AddPacket(InputPacketsEnum.ItemDataResult, Packets.InfoData.ItemData.Run); socketOptions.AddPacket(InputPacketsEnum.MapDataResult, Packets.InfoData.MapData.Run); //FastFight socketOptions.AddPacket(InputPacketsEnum.FastFightReadyList, Packets.FastFight.FastFightReadyList.Run); socketOptions.AddPacket(InputPacketsEnum.FastFightRandomNoFind, Packets.FastFight.FastFightRandomNoFind.Run); socketOptions.AddPacket(InputPacketsEnum.FastFightRequest, Packets.FastFight.FastFightRequest.Run); socketOptions.AddPacket(InputPacketsEnum.FastFightRequestResult, Packets.FastFight.FastFightRequestResult.Run); socketOptions.AddPacket(InputPacketsEnum.FastFightRequestTimeOut, Packets.FastFight.FastFightRequestTimeOut.Run); socketOptions.AddPacket(InputPacketsEnum.FastFightDisconnect, Packets.FastFight.FastFightDisconnect.Run); socketOptions.AddPacket(InputPacketsEnum.FastFightReady, Packets.FastFight.FastFightReady.Run); //Character socketOptions.AddPacket(InputPacketsEnum.CharacterCreateResult, Packets.Character.CharacterCreate.Run); socketOptions.AddPacket(InputPacketsEnum.CharacterEquipResult, Packets.Character.CharacterEquip.Run); socketOptions.AddPacket(InputPacketsEnum.CharacterListResult, Packets.Character.CharacterList.Run); socketOptions.AddPacket(InputPacketsEnum.CharacterRemoveResult, Packets.Character.CharacterRemove.Run); //Item socketOptions.AddPacket(InputPacketsEnum.ItemEquipResult, Packets.Item.ItemEquip.Run); socketOptions.AddPacket(InputPacketsEnum.ItemInventoryListResult, Packets.Item.ItemInventoryList.Run); socketOptions.AddPacket(InputPacketsEnum.ItemSellResult, Packets.Item.ItemSell.Run); socketOptions.AddPacket(InputPacketsEnum.ItemUpgradeResult, Packets.Item.ItemUpgrade.Run); socketOptions.AddPacket(InputPacketsEnum.ItemRepairResult, Packets.Item.ItemRepair.Run); //Shop socketOptions.AddPacket(InputPacketsEnum.ShopListResult, Packets.Shop.ShopItemList.Run); socketOptions.AddPacket(InputPacketsEnum.ShopBuyItemResult, Packets.Shop.ShopBuyItem.Run); socketOptions.AddPacket(InputPacketsEnum.ShopBuyDenariusResult, Packets.Shop.ShopBuySilver.Run); //Messages socketOptions.AddPacket(InputPacketsEnum.RoomServerBusyResult, Packets.Messages.ServerBusyMessage.Run); socketOptions.AddPacket(InputPacketsEnum.UpdateCoinsResult, Packets.Messages.UpdateCoinsMessage.Run); socketOptions.AddPacket(InputPacketsEnum.SandboxCreate, Packets.Messages.SandboxCreateMessage.Run); socketOptions.AddPacket(InputPacketsEnum.SandboxRemove, Packets.Messages.SandboxRemoveMessage.Run); socketOptions.AddPacket(InputPacketsEnum.InventoryItem, Packets.Messages.InventoryItemMessage.Run); //Sandbox socketOptions.AddPacket(InputPacketsEnum.SandboxCreateResult, Packets.Sandbox.SandboxCreate.Run); socketOptions.AddPacket(InputPacketsEnum.SandboxConnectResult, Packets.Sandbox.SandboxConnect.Run); socketOptions.AddPacket(InputPacketsEnum.SandboxDisconnect, Packets.Sandbox.SandboxDisconnect.Run); socketOptions.AddPacket(InputPacketsEnum.SandboxRoomListResult, Packets.Sandbox.SandboxReady.Run); socketOptions.AddPacket(InputPacketsEnum.SandboxUserInfoListResult, Packets.Sandbox.SandboxUserInfoList.Run); socketOptions.AddPacket(InputPacketsEnum.SandboxChangePlayerCount, Packets.Sandbox.SandboxChangePlayerCount.Run); socketOptions.AddPacket(InputPacketsEnum.Ping, Packets.Utils.Ping.Run); }