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:
@@ -49,6 +49,14 @@ public ref struct PacketReader(ReadOnlySpan<byte> buffer)
|
||||
return value;
|
||||
}
|
||||
|
||||
public short ReadInt16()
|
||||
{
|
||||
EnsureAvailable(sizeof(short));
|
||||
var value = BinaryPrimitives.ReadInt16LittleEndian(_buffer[_position..]);
|
||||
_position += sizeof(short);
|
||||
return value;
|
||||
}
|
||||
|
||||
public int ReadInt32()
|
||||
{
|
||||
EnsureAvailable(sizeof(int));
|
||||
|
||||
Reference in New Issue
Block a user