🐛 operation code for room

This commit is contained in:
2023-10-07 19:33:55 +03:00
parent e1a3ea45e2
commit c892c2b67a
+2 -2
View File
@@ -75,7 +75,7 @@ public class RagonScene
var buffer = _client.Buffer; var buffer = _client.Buffer;
buffer.Clear(); buffer.Clear();
buffer.WriteOperation(RagonOperation.REPLICATE_RAW_DATA); buffer.WriteOperation(RagonOperation.REPLICATE_ROOM_EVENT);
buffer.WriteUShort(evntId); buffer.WriteUShort(evntId);
buffer.WriteByte((byte)replicationMode); buffer.WriteByte((byte)replicationMode);
buffer.WriteByte((byte)target); buffer.WriteByte((byte)target);
@@ -91,7 +91,7 @@ public class RagonScene
var buffer = _client.Buffer; var buffer = _client.Buffer;
buffer.Clear(); buffer.Clear();
buffer.WriteOperation(RagonOperation.REPLICATE_RAW_DATA); buffer.WriteOperation(RagonOperation.REPLICATE_ROOM_EVENT);
buffer.WriteUShort(evntId); buffer.WriteUShort(evntId);
buffer.WriteByte((byte)replicationMode); buffer.WriteByte((byte)replicationMode);
buffer.WriteByte((byte)RagonTarget.Player); buffer.WriteByte((byte)RagonTarget.Player);