示例#1
0
 public static void ShowMyAukItemsRequest(IRealmClient client, RealmPacketIn packet)
 {
     packet.Position += 15;
     if (packet.ReadByte() == (byte)1)
     {
         Asda2AuctionHandler.SendMyAukItemsInfoResponse(client,
                                                        Asda2AuctionMgr.GetCharacterRegularItems((uint)client.ActiveCharacter.Record.Guid));
     }
     else
     {
         Asda2AuctionHandler.SendMyAukItemsInfoResponse(client,
                                                        Asda2AuctionMgr.GetCharacterShopItems((uint)client.ActiveCharacter.Record.Guid));
     }
 }
示例#2
0
 [PacketHandler(RealmServerOpCode.ShowMyAukItems)] //9907
 public static void ShowMyAukItemsRequest(IRealmClient client, RealmPacketIn packet)
 {
     packet.Position += 15; //tab35 default : stab35Len : 1
     if (packet.ReadByte() == 1)
     {
         //regualr items
         SendMyAukItemsInfoResponse(client,
                                    Asda2AuctionMgr.GetCharacterRegularItems(
                                        (uint)client.ActiveCharacter.Record.Guid));
     }
     else
     {
         //equip items
         SendMyAukItemsInfoResponse(client,
                                    Asda2AuctionMgr.GetCharacterShopItems(
                                        (uint)client.ActiveCharacter.Record.Guid));
     }
 }