summaryrefslogtreecommitdiff
path: root/Net.cs
diff options
context:
space:
mode:
authorSarah Bradley <git@sarahduck.ca>2023-12-18 19:51:26 -0800
committerSarah Bradley <git@sarahduck.ca>2023-12-18 19:51:26 -0800
commit4b7966ffda3b6ad34d355148ddccbe2959061730 (patch)
tree8be290357abb5d7cf8c72a803f3be63b3e353d7e /Net.cs
parentfc3874657348bde6ce7e3fab625c92dfec91baaa (diff)
Networked Mice!!
Also combined Spritesheet + Username packets into one UserInfo packet.
Diffstat (limited to 'Net.cs')
-rw-r--r--Net.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Net.cs b/Net.cs
index 83b6b26..3fa5f8a 100644
--- a/Net.cs
+++ b/Net.cs
@@ -52,8 +52,7 @@ public enum PacketType : byte
{
MousePosition,
OnekoTargetPosition,
- OnekoSpritesheet,
- Username,
+ UserInfo,
UserId,
Disconnect,
Invalid
@@ -103,6 +102,4 @@ class User(int id)
//Oneko Stuff
public byte[]? SpriteSheet;
public string? Username;
-
- public bool ExchangedData => SpriteSheet != null && Username != null;
} \ No newline at end of file