Out with MagicOnion, in with LiteNetLib
Removed MagicOnion Added LiteNetLib Created client and server abstractions Fixed serialization bugs
This commit is contained in:
parent
433a7b4ae4
commit
e96146b7bb
869 changed files with 59401 additions and 16812 deletions
|
|
@ -47,13 +47,22 @@ public abstract class DatabaseEntry
|
|||
|
||||
[MessagePackObject]
|
||||
[JsonObject(MemberSerialization.OptIn)]
|
||||
public class Player : DatabaseEntry
|
||||
public class Player : DatabaseEntry, INamedEntry
|
||||
{
|
||||
[JsonProperty("email")] [Key(1)]
|
||||
public string Email;
|
||||
|
||||
[JsonProperty("password")] [Key(2)]
|
||||
public string Password;
|
||||
|
||||
[JsonProperty("username")] [Key(3)]
|
||||
public string Username;
|
||||
|
||||
[IgnoreMember] public string EntryName
|
||||
{
|
||||
get => Username;
|
||||
set => Username = value;
|
||||
}
|
||||
}
|
||||
|
||||
[MessagePackObject]
|
||||
|
|
|
|||
Loading…
Reference in a new issue