diff options
| author | Sarah B <git@sarahduck.ca> | 2023-12-25 00:02:12 -0800 |
|---|---|---|
| committer | Sarah B <git@sarahduck.ca> | 2023-12-25 00:02:12 -0800 |
| commit | ff3cbc5b49f8618531c5778d69b49c0aa4a9442a (patch) | |
| tree | bdee837392669a3eb4ac3f0296c3749c6485078c /OnekoNet.cs | |
| parent | 760fb20f4d248d19524392d2b8c3a3fcdb762453 (diff) | |
Changed how server handles UserInfo, and started work on networking the cursor's sprite.
Diffstat (limited to 'OnekoNet.cs')
| -rw-r--r-- | OnekoNet.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OnekoNet.cs b/OnekoNet.cs index d01bff3..ee780c6 100644 --- a/OnekoNet.cs +++ b/OnekoNet.cs @@ -12,7 +12,7 @@ class OnekoNet : Oneko float NetworkIssueTimer = 0f; - public OnekoNet(Bitmap bitmap, User user) : base(bitmap) + public OnekoNet(Bitmap bitmap, ClientUser user) : base(bitmap) { MyUser = user; Name = user.Nekoname!; @@ -41,7 +41,7 @@ class OnekoNet : Oneko else ColorTint = Color.WHITE with {A = 120}; } - public static void SpawnNetNeko(User user) + public static void SpawnNetNeko(ClientUser user) { if (!NetNekos.ContainsKey(user.Id)) { Bitmap spriteSheet = Bitmap.Deserialize(user.SpriteSheet); |
