This commit is contained in:
2024-09-28 20:11:56 +03:00
parent 5136f08dab
commit 672bb1ff6d
95 changed files with 741 additions and 601 deletions
@@ -10,10 +10,10 @@ public class TimestampHandler: IHandler
_client = client;
}
public void Handle(RagonBuffer buffer)
public void Handle(RagonStream buffer)
{
var timestamp0 = buffer.Read(32);
var timestamp1 = buffer.Read(32);
var timestamp0 = (uint)buffer.ReadInt();
var timestamp1 = (uint)buffer.ReadInt();
var value = new DoubleToUInt { Int0 = timestamp0, Int1 = timestamp1 };
_client.SetTimestamp(value.Double);