Core/PacketIO: Named a bunch of unknown/unused fields

Port From (https://github.com/TrinityCore/TrinityCore/commit/806611075659ddde60f3003763e442a46d70f993)
This commit is contained in:
Hondacrx
2024-11-17 13:07:52 -05:00
parent ba80dede79
commit 447c222665
41 changed files with 525 additions and 516 deletions
+4 -4
View File
@@ -15,7 +15,7 @@ namespace Game
CommerceTokenGetLogResponse response = new();
// @todo: fix 6.x implementation
response.UnkInt = commerceTokenGetLog.UnkInt;
response.ClientToken = commerceTokenGetLog.ClientToken;
response.Result = TokenResult.Success;
SendPacket(response);
@@ -27,9 +27,9 @@ namespace Game
CommerceTokenGetMarketPriceResponse response = new();
// @todo: 6.x fix implementation
response.CurrentMarketPrice = 300000000;
response.UnkInt = commerceTokenGetMarketPrice.UnkInt;
response.Result = TokenResult.Success;
response.PriceGuarantee = 300000000;
response.ClientToken = commerceTokenGetMarketPrice.ClientToken;
response.ServerToken = TokenResult.Success;
//packet.ReadUInt32("UnkInt32");
SendPacket(response);