feat: Upgrade server with HyNB v2.4 modular architecture, minigames, admin GM web panel, companion summons, and car radio
This commit is contained in:
1 parent
74e2963a12
commit
3e5adf1dc5
1571 files changed
+336468
-6348
No files matched your search
@@ -44,6 +44,15 @@ public sealed class UxWriter
|
||||
return this;
|
||||
}
|
||||
|
||||
// Gadget / native family: the count byte is consumed as-is by the client reader, so a
|
||||
// zero-length list is a literal 0 (handoff 16D: empty dict = `01 00`).
|
||||
public UxWriter Raw7(int value)
|
||||
{
|
||||
if (value < 0) throw new ArgumentOutOfRangeException(nameof(value));
|
||||
WriteVarInt(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
public byte[] ToArray() => _ms.ToArray();
|
||||
|
||||
private void WriteVarInt(int value)
|
||||
|
||||
Reference in new issue
Block a user