예제 #1
0
        protected override void OnClientConnected(ClientConnectionEventArgs e)
        {
            base.OnClientConnected(e);
            Client c = e.Client;

            c.ClientLogin += new EventHandler<ClientLoginEventArgs>(c_ClientLogin);
            c.ClientWorldSelected += new EventHandler<ClientWorldSelectedEventArgs>(c_ClientWorldSelected);
        }
예제 #2
0
        protected override void OnClientConnected(ClientConnectionEventArgs e)
        {
            base.OnClientConnected(e);

            Client c = e.Client;

            c.ClientUnitConnectionInfo += new EventHandler<ClientUnitConnectionInfoEventArgs>(c_ClientUnitConnectionInfo);
            c.ClientCreateCharacterInfo += new EventHandler<ClientCharacterCreateInfoEventArgs>(c_ClientCreateCharacterInfo);
            c.ClientChannelRequestInfo += new EventHandler<ClientChannelRequestEventArgs>(c_ClientChannelRequestInfo);
        }
예제 #3
0
        protected override void OnClientConnected(ClientConnectionEventArgs e)
        {
            base.OnClientConnected(e);

            Client c = e.Client;
            c.ClientUnknownPacket += new EventHandler<UnknownPacketEventArgs>(c_ClientUnknownPacket);
            c.ClientUnitConnectionInfo += new EventHandler<ClientUnitConnectionInfoEventArgs>(c_ClientUnitConnectionInfo);

            c.ClientChannelLoginInfo += new EventHandler<ClientChannelLoginInfoEventArgs>(c_ClientChannelLoginInfo);
            c.ClientChannelChangeInfo += new EventHandler<ClientChannelChangeEventArgs>(c_ClientChannelChangeInfo);
            c.ClientChannelStuffInfo += new EventHandler<ClientChannelChangeStuffEventArgs>(c_ClientChannelStuffInfo);

            c.ClientWalkToPortalInfo += new EventHandler<ClientWalkToPortalEventArgs>(c_ClientWalkToPortalInfo);
            c.ClientMapLoadInfo += new EventHandler<ClientMapLoadEventArgs>(c_ClientMapLoadInfo);
            c.ClientSkillLoadInfo += new EventHandler<ClientSkillLoadEvenArgs>(c_ClientSkillLoadInfo);

            c.ClientInventoryLoadInfo += new EventHandler<ClientInventoryLoadEvenArgs>(c_ClientInventoryLoadInfo);
            c.ClientMoveItemInfo += new EventHandler<ClientMoveItemEventArgs>(c_ClientMoveItemInfo);
            c.ClientDropItemInfo += new EventHandler<ClientDropItemEventArgs>(c_ClientDropItemInfo);
            c.ClientPickItemInfo += new EventHandler<ClientPickItemEventArgs>(c_ClientPickItemInfo);
            c.ClientImbueItemInfo += new EventHandler<ClientImbueItemEventArgs>(c_ClientImbueItemInfo);
            c.ClientAcceptImbueItemInfo += new EventHandler<ClientAcceptImbueItemEventArgs>(c_ClientAcceptImbueItemInfo);

            c.ClientNpcTradeInfo += new EventHandler<ClientNpcTradeEventArgs>(c_ClientNpcTradeInfo);
            c.ClientBuyItemInfo += new EventHandler<ClientBuyItemEventArgs>(c_ClientBuyItemInfo);

            c.ClientSpawnStatLoadInfo += new EventHandler<ClientStatLoadEventArgs>(c_ClientSpawnStatLoadInfo);
            c.ClientSpawnLoadInfo += new EventHandler<ClientSpawnLoadEventArgs>(c_ClientSpawnLoadInfo);
            c.ClientRequestStatsLoadInfo += new EventHandler<ClientRequestStatsLoadInfo>(c_ClientRequestStatsLoadInfo);
            c.ClientAddStatInfo += new EventHandler<ClientAddStatEventArgs>(c_ClientAddStatInfo);

            c.ClientSendPlayerIDInfo += new EventHandler<ClientSendPlayerIDEventArgs>(c_ClientSendPlayerIDInfo);
            c.ClientSpawnOtherPlayerInfo += new EventHandler<ClientSpawnOtherPlayerEventArgs>(c_ClientSpawnOtherPlayerInfo);

            c.ClientMovementInfo += new EventHandler<ClientMovementInfoEventArgs>(c_ClientMovementInfo);

            c.ClientChatMessageInfo += new EventHandler<ClientChatMessageEventArgs>(c_ClientChatMessageInfo);
            c.ClientCommandInfo += new EventHandler<ClientCommandInfoEventArgs>(c_ClientCommandInfo);
        }
예제 #4
0
 protected virtual void OnClientConnected(ClientConnectionEventArgs e)
 {
     if (ClientConnected != null)
         ClientConnected(this, e);
 }
예제 #5
0
 void loginServer_ClientConnected(object sender, ClientConnectionEventArgs e)
 {
     Log(e.Client.IPAddress);
 }
예제 #6
0
 void channelServer_ClientConnected(object sender, ClientConnectionEventArgs e)
 {
     Log("Client Connected: " +  e.Client.IPAddress);
 }
예제 #7
0
        protected override void OnClientConnected(ClientConnectionEventArgs e)
        {
            base.OnClientConnected(e);

            Client c = e.Client;
            c.ClientUnknownPacket += new EventHandler<UnknownPacketEventArgs>(c_ClientUnknownPacket);
            c.ClientDisposed += new EventHandler(serverClient_ClientDisposed);

            c.ClientUnitConnectionInfo += new EventHandler<ClientUnitConnectionInfoEventArgs>(c_ClientUnitConnectionInfo);
            c.ClientChannelRequestInfo += new EventHandler<ClientChannelRequestEventArgs>(c_ClientChannelRequestInfo);
            c.ClientCreateCharacterInfo += new EventHandler<ClientCharacterCreateInfoEventArgs>(c_ClientCreateCharacterInfo);

            c.ClientLogPacket += new EventHandler<LogPacketEventArgs>(c_ClientLogPacket);

            c.ClientChannelLoginInfo += new EventHandler<ClientChannelLoginInfoEventArgs>(c_ClientChannelLoginInfo);
            c.ClientChannelChangeInfo += new EventHandler<ClientChannelChangeEventArgs>(c_ClientChannelChangeInfo);
            c.ClientChannelStuffInfo += new EventHandler<ClientChannelChangeStuffEventArgs>(c_ClientChannelStuffInfo);

            c.ClientWalkToPortalInfo += new EventHandler<ClientWalkToPortalEventArgs>(c_ClientWalkToPortalInfo);
            c.ClientMapLoadInfo += new EventHandler<ClientMapLoadEventArgs>(c_ClientMapLoadInfo);
            c.ClientSkillLoadInfo += new EventHandler<ClientSkillLoadEvenArgs>(c_ClientSkillLoadInfo);

            c.ClientMoveWarehouseItemToBagInfo += new EventHandler<ClientMoveWarehouseItemToBagEventArgs>(c_ClientMoveWarehouseItemToBagInfo);
            c.ClientOpenWarehouseInfo += new EventHandler<ClientOpenWarehouseEventArgs>(c_ClientOpenWarehouseInfo);
            c.ClientAddItemToWarehouseInfo += new EventHandler<ClientAddItemToWarehouseEventargs>(c_ClientAddItemToWarehouseInfo);
            c.ClientMoveWarehouseItemInfo += new EventHandler<ClientMoveWarehouseItemEventArgs>(c_ClientMoveWarehouseItemInfo);

            c.ClientInventoryLoadInfo += new EventHandler<ClientInventoryLoadEvenArgs>(c_ClientInventoryLoadInfo);
            c.ClientMoveItemInfo += new EventHandler<ClientMoveItemEventArgs>(c_ClientMoveItemInfo);
            c.ClientDropItemInfo += new EventHandler<ClientDropItemEventArgs>(c_ClientDropItemInfo);
            c.ClientPickItemInfo += new EventHandler<ClientPickItemEventArgs>(c_ClientPickItemInfo);
            c.ClientStackItemInfo += new EventHandler<ClientStackItemInfoEventArgs>(c_ClientStackItemInfo);
            c.ClientImbueItemInfo += new EventHandler<ClientImbueItemEventArgs>(c_ClientImbueItemInfo);
            c.ClientAcceptImbueItemInfo += new EventHandler<ClientAcceptImbueItemEventArgs>(c_ClientAcceptImbueItemInfo);

            c.ClientNpcTradeInfo += new EventHandler<ClientNpcTradeEventArgs>(c_ClientNpcTradeInfo);
            c.ClientBuyItemInfo += new EventHandler<ClientBuyItemEventArgs>(c_ClientBuyItemInfo);
            c.ClientSellItemInfo += new EventHandler<ClientSellItemEventArgs>(c_ClientSellItemInfo);
            c.ClientUseItemInfo += new EventHandler<ClientUseItemEventArgs>(c_ClientUseItemInfo);

            c.ClientUseRebirthPillInfo += new EventHandler<ClientUseRebirthPillEventArgs>(c_ClientUseRebirthPillInfo);

            c.ClientAddItemToShopInfo += new EventHandler<ClientAddItemToShopEventArgs>(c_ClientAddItemToShopInfo);
            c.ClientMoveShopItemInfo += new EventHandler<ClientMoveShopItemEventArgs>(c_ClientMoveShopItemInfo);
            c.ClientChangeShopInfo += new EventHandler<ClientChangeShopInfoEventArgs>(c_ClientChangeShopInfo);
            c.ClientMoveShopItemToBagInfo += new EventHandler<ClientMoveShopItemToBagEventArgs>(c_ClientMoveShopItemToBagInfo);
            c.ClientShopStartSellingInfo += new EventHandler<ClientShopStartSellingEventArgs>(c_ClientShopStartSellingInfo);
            c.ClientOpenOtherPlayerShopInfo += new EventHandler<ClientOpenOtherPlayerShopEventArgs>(c_ClientOpenOtherPlayerShopInfo);
            c.ClientBuyOtherPlayerItemInfo += new EventHandler<ClientBuyOtherPlayerShopItemEventArgs>(c_ClientBuyOtherPlayerItemInfo);
            c.ClientShopTakeMoneyInfo += new EventHandler<ClientShopTakeMoneyInfoEventArgs>(c_ClientShopTakeMoneyInfo);

            c.ClientTradePlayerInfo += new EventHandler<ClientTradePlayerEventArgs>(c_ClientTradePlayerInfo);
            c.ClientTradePlayerCommandsInfo += new EventHandler<ClientTradePlayerCommandsEventArgs>(c_ClientTradePlayerCommandsInfo);
            c.ClientTradeAddMoneyInfo += new EventHandler<ClientTradeAddMoneyEventArgs>(c_ClientTradeAddMoneyInfo);
            c.ClientTradeAddItemInfo += new EventHandler<ClientTradeAddItemEventArgs>(c_ClientTradeAddItemInfo);

            c.ClientUpdateQuickSlotInfo += new EventHandler<ClientUpdateQuickSlotEventArgs>(c_ClientUpdateQuickSlotInfo);
            c.ClientSelectSkillInfo += new EventHandler<ClientSelectSkillEventArgs>(c_ClientSelectSkillInfo);

            c.ClientLearnSkillInfo += new EventHandler<ClientLearnSkillEventArgs>(c_ClientLearnSkillInfo);

            c.ClientSpawnStatLoadInfo += new EventHandler<ClientStatLoadEventArgs>(c_ClientSpawnStatLoadInfo);
            c.ClientSpawnLoadInfo += new EventHandler<ClientSpawnLoadEventArgs>(c_ClientSpawnLoadInfo);
            c.ClientRequestStatsLoadInfo += new EventHandler<ClientRequestStatsLoadInfo>(c_ClientRequestStatsLoadInfo);
            c.ClientAddStatInfo += new EventHandler<ClientAddStatEventArgs>(c_ClientAddStatInfo);

            c.ClientSendPetInfo += new EventHandler<ClientSendPetEventArgs>(c_ClientSendPlayerPetInfo);
            c.ClientSpawnOtherPlayerInfo += new EventHandler<ClientSpawnOtherPlayerEventArgs>(c_ClientSpawnOtherPlayerInfo);

            c.ClientMovementInfo += new EventHandler<ClientMovementInfoEventArgs>(c_ClientMovementInfo);

            c.ClientAddFriendInfo += new EventHandler<ClientAddFriendEventArgs>(c_ClientAddFriendInfo);
            c.ClientRequestFriendListInfo += new EventHandler<ClientRequestFriendListEventArgs>(c_ClientRequestFriendListInfo);

            c.ClientChatMessageInfo += new EventHandler<ClientChatMessageEventArgs>(c_ClientChatMessageInfo);
            c.ClientCommandInfo += new EventHandler<ClientCommandInfoEventArgs>(c_ClientCommandInfo);

            c.ClientMonsterSpawnRequestInfo += new EventHandler<ClientMonsterSpawnRequestEventArgs>(c_ClientMonsterSpawnRequestInfo);

            c.ClientAttackInfo += new EventHandler<ClientAttackEventArgs>(c_ClientAttackInfo);
            c.ClientCastSkillInfo += new EventHandler<ClientCastSkillEventArgs>(c_ClientCastSkillInfo);

            c.ClientUseTeleporterInfo += new EventHandler<ClientUseTeleporterEventArgs>(c_ClientUseTeleporterInfo);

            c.ClientCombineItemsInfo += new EventHandler<ClientCombineItemsEvenArgs>(c_ClientCombineItemsInfo);

            c.ClientPartyRequestInfo += new EventHandler<ClientPartyRequestEventArgs>(c_ClientPartyRequestInfo);
            c.ClientAddToPartyRequestInfo += new EventHandler<ClientAddToPartyRequestEventArgs>(c_ClientAddToPartyRequestInfo);
            c.ClientLeavePartyInfo += new EventHandler<ClientLeavePartyEventArgs>(c_ClientLeavePartyInfo);
            c.ClientChangePartyLeaderInfo += new EventHandler<ClientChangePartyLeaderEventArgs>(c_ClientChangePartyLeaderInfo);

            c.ClientPetMovementInfo += new EventHandler<ClientPetMovementInfoEventArgs>(c_ClientPetMovementInfo);
            c.ClientKillPetInfo += new EventHandler<ClientKillPetInfoEventArgs>(c_ClientKillPetInfo);
            c.ClientBaitPetInfo += new EventHandler<ClientBaitPetInfoEventArgs>(c_ClientBaitPetInfo);
            c.ClientRequestPetStatsInfo += new EventHandler<ClientRequestPetStatsInfoEventArgs>(c_ClientRequestPetStatsInfo);
            c.ClientRequestSpawnOtherPetInfo += new EventHandler<ClientRequestSpawnOtherPetInfoEventArgs>(c_ClientRequestSpawnOtherPetInfo);
            c.ClientResurrectPetInfo += new EventHandler<ClientResurrectPetInfoEventArgs>(c_ClientResurrectPetInfo);
            c.ClientRenamePetInfo += new EventHandler<ClientRenamePetInfoEventArgs>(c_ClientRenamePetInfo);
            c.ClientSendPetToMeInfo += new EventHandler<ClientSendPetToMeInfoEventArgs>(c_ClientSendPetToMeInfo);
            c.ClientTradePetInfo += new EventHandler<ClientTradePetInfoEventArgs>(c_ClientTradePetInfo);
            c.ClientTradePetAmountInfo += new EventHandler<ClientTradePetAmountInfoEventArgs>(c_ClientTradePetAmountInfo);
            c.ClientSealPetInfo += new EventHandler<ClientSealPetInfoEventArgs>(c_ClientSealPetInfo);
            c.ClientUnSealPetInfo += new EventHandler<ClientUnSealPetInfoEventArgs>(c_ClientUnSealPetInfo);

            c.ClientRequestDeath += new EventHandler<ClientRequestDeath>(c_ClientRequestDeath);

            c.ClientCreateGuildInfo += new EventHandler<ClientCreateGuildInfoEventArgs>(c_ClientCreateGuildInfo);
            c.ClientRequestGuildInfo += new EventHandler<ClientRequestGuildEventArgs>(c_ClientRequestGuildInfo);
            c.ClientRequestGuildInformation += new EventHandler<ClientRequestGuildInfoEventArgs>(c_ClientRequestGuildInformation);
            c.ClientRequestGuildMemberStatsInfo += new EventHandler<ClientRequestGuildMemberStatsEventArgs>(c_ClientRequestGuildMemberStatsInfo);
            c.ClientRequestGuildMemberChangeRankInfo += new EventHandler<ClientRequestGuildMemberRankChangeEventArgs>(c_ClientRequestGuildMemberChangeRankInfo);
            c.ClientRequestGuildMemberChangeTitleInfo += new EventHandler<ClientRequestGuildMemberChangeTitleEventArgs>(c_ClientRequestGuildMemberChangeTitleInfo);
            c.ClientRequestGuildChangeNoticeInfo += new EventHandler<ClientRequestGuildChangeNoticeEventArgs>(c_ClientRequestGuildChangeNoticeInfo);
            c.ClientRequestJoinGuildInfo += new EventHandler<ClientRequestJoinGuildEventArgs>(c_ClientRequestJoinGuildInfo);
            c.ClientRequestCloseGuildInfo += new EventHandler<ClientRequestCloseGuildEventArgs>(c_ClientRequestCloseGuildInfo);
            c.ClientRequestLeaveGuildInfo += new EventHandler<ClientRequestLeaveGuildEventArgs>(c_ClientRequestLeaveGuildInfo);
            c.ClientGuildChatInfo += new EventHandler<ClientGuildChatEventArgs>(c_ClientGuildChatInfo);
        }