Skip to content

Commit

Permalink
few more
Browse files Browse the repository at this point in the history
  • Loading branch information
Mag-nus committed Feb 12, 2024
1 parent fbcfd3c commit 46364a3
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class GameEventAllegianceUpdate : GameEventMessage
/// Returns info related to a player's monarch, patron, and vassals.
/// </summary>
public GameEventAllegianceUpdate(Session session, Allegiance allegiance, AllegianceNode node)
: base(GameEventType.AllegianceUpdate, GameMessageGroup.UIQueue, session)
: base(GameEventType.AllegianceUpdate, GameMessageGroup.UIQueue, session, 512) // 398 is the average seen in retail pcaps, 1,040 is the max seen in retail pcaps
{
var startPos = Writer.BaseStream.Position;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace ACE.Server.Network.GameEvent.Events
public class GameEventApproachVendor : GameEventMessage
{
public GameEventApproachVendor(Session session, Vendor vendor, uint altCurrencySpent)
: base(GameEventType.ApproachVendor, GameMessageGroup.UIQueue, session)
: base(GameEventType.ApproachVendor, GameMessageGroup.UIQueue, session, 8192) // 5,376 is the average seen in retail pcaps, 15,272 is the max seen in retail pcaps
{
Writer.Write(vendor.Guid.Full);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace ACE.Server.Network.GameEvent.Events
public class GameEventBookPageDataResponse : GameEventMessage
{
public GameEventBookPageDataResponse(Session session, uint bookID, int pageIndex, PropertiesBookPageData pageData)
: base(GameEventType.BookPageDataResponse, GameMessageGroup.UIQueue, session)
: base(GameEventType.BookPageDataResponse, GameMessageGroup.UIQueue, session, 512) // 465 is the average seen in retail pcaps, 1,084 is the max seen in retail pcaps
{
// unused?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class GameEventFellowshipFullUpdate : GameEventMessage
private static readonly HashComparer FellowComparer = new HashComparer(16);

public GameEventFellowshipFullUpdate(Session session)
: base(GameEventType.FellowshipFullUpdate, GameMessageGroup.UIQueue, session)
: base(GameEventType.FellowshipFullUpdate, GameMessageGroup.UIQueue, session, 512) // 338 is the average seen in retail pcaps, 1,264 is the max seen in retail pcaps
{
var fellowship = session.Player.Fellowship;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum FriendsUpdateTypeFlag
/// </summary>
/// <param name="session"></param>
public GameEventFriendsListUpdate(Session session)
: base(GameEventType.FriendsListUpdate, GameMessageGroup.UIQueue, session)
: base(GameEventType.FriendsListUpdate, GameMessageGroup.UIQueue, session, 4096) // 2,062 is the average seen in retail pcaps, 36,916 is the max seen in retail pcaps
{
updateType = FriendsUpdateTypeFlag.FullList;
WriteEventBody();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace ACE.Server.Network.GameEvent.Events
public class GameEventUpdateHAR : GameEventMessage
{
public GameEventUpdateHAR(Session session, House house)
: base(GameEventType.UpdateHAR, GameMessageGroup.UIQueue, session)
: base(GameEventType.UpdateHAR, GameMessageGroup.UIQueue, session, 56) // Only 40 and 56 seen in retail pcaps
{
//Console.WriteLine("Sending 0x257 - Update House Access Records (HAR)");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace ACE.Server.Network.GameEvent.Events
public class GameEventHouseUpdateRentPayment : GameEventMessage
{
public GameEventHouseUpdateRentPayment(Session session)
: base(GameEventType.UpdateRentPayment, GameMessageGroup.UIQueue, session)
: base(GameEventType.UpdateRentPayment, GameMessageGroup.UIQueue, session, 80) // Only 32 and 80 seen in retail pcaps
{
//Console.WriteLine("Sending 0x228 - House - UpdateRentPayment");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private enum DescriptionVectorFlag
}

public GameEventPlayerDescription(Session session)
: base(GameEventType.PlayerDescription, GameMessageGroup.UIQueue, session)
: base(GameEventType.PlayerDescription, GameMessageGroup.UIQueue, session, 16384) // 10,333 is the average seen in retail pcaps, 28,828 is the max seen in retail pcaps
{
WriteEventBody();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace ACE.Server.Network.GameEvent.Events
{
public class GameEventSendClientContractTrackerTable : GameEventMessage
{
public GameEventSendClientContractTrackerTable(Session session) : base(GameEventType.SendClientContractTrackerTable, GameMessageGroup.UIQueue, session)
public GameEventSendClientContractTrackerTable(Session session) : base(GameEventType.SendClientContractTrackerTable, GameMessageGroup.UIQueue, session, 512) // 436 is the average seen in retail pcaps, 3208 is the max seen in retail pcaps
{
Writer.Write(session.Player.ContractManager);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace ACE.Server.Network.GameEvent.Events
public class GameEventStartGame: GameEventMessage
{
public GameEventStartGame(Session session, ObjectGuid boardGuid, ChessColor color)
: base(GameEventType.StartGame, GameMessageGroup.UIQueue, session)
: base(GameEventType.StartGame, GameMessageGroup.UIQueue, session, 12)
{
Writer.Write(boardGuid.Full);
Writer.Write((int)color); // which team that should go first
Expand Down

0 comments on commit 46364a3

Please sign in to comment.