feat: Expand packet documentation with enums, bitfields, and detailed formats
- Add 42 new packet JSON definitions (assistant, book, chat, gump, house, etc.) - Convert inline enum/bitflag descriptions to structured enum arrays - Add planeFormat section for 0xD8 house customization packet - Add Plane Format rendering in HTML template - Standardize field descriptions and remove inline value lists - Add comprehensive gump layout command documentation - Document boat, mahjong, party, secure trade, and weapon ability packets 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f0b65fecb7
commit
0d3dc75330
51 changed files with 18827 additions and 3924 deletions
|
|
@ -56,12 +56,10 @@ public static class OutgoingPlayerPackets
|
|||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static void SendChangeUpdateRange(this NetState ns, byte range) =>
|
||||
ns?.Send(stackalloc byte[] { 0xC8, range });
|
||||
public static void SendChangeUpdateRange(this NetState ns, byte range) => ns?.Send(stackalloc byte[] { 0xC8, range });
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static void SendDeathStatus(this NetState ns) =>
|
||||
ns?.Send(stackalloc byte[] { 0x2C, 2 });
|
||||
public static void SendDeathStatus(this NetState ns) => ns?.Send(stackalloc byte[] { 0x2C, 2 });
|
||||
|
||||
public static void SendDisplayProfile(this NetState ns, Serial m, string header, string body, string footer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,9 +29,7 @@ public enum TradeFlag : byte
|
|||
|
||||
public static class OutgoingSecureTradePackets
|
||||
{
|
||||
public static void SendDisplaySecureTrade(
|
||||
this NetState ns, Mobile them, Container first, Container second, string name
|
||||
)
|
||||
public static void SendDisplaySecureTrade(this NetState ns, Mobile them, Container first, Container second, string name)
|
||||
{
|
||||
if (ns.CannotSendPackets())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue