Sample outdoor weather from the climate preset so people can freeze and the clock can show it.
Protocol v8 adds tenths of a °C and precipitation to the clock frame; warmth drains from insulation versus place temperature. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -52,6 +52,13 @@ public ref struct PacketWriter(Span<byte> buffer)
|
||||
_position += byteCount;
|
||||
}
|
||||
|
||||
public void WriteInt16(short value)
|
||||
{
|
||||
EnsureRoom(sizeof(short));
|
||||
BinaryPrimitives.WriteInt16LittleEndian(_buffer[_position..], value);
|
||||
_position += sizeof(short);
|
||||
}
|
||||
|
||||
public void WriteInt32(int value)
|
||||
{
|
||||
EnsureRoom(sizeof(int));
|
||||
|
||||
Reference in New Issue
Block a user