Out with MagicOnion, in with LiteNetLib

Removed MagicOnion
Added LiteNetLib
Created client and server abstractions
Fixed serialization bugs
This commit is contained in:
hyperion51 2020-03-24 14:36:22 +00:00
commit e96146b7bb
869 changed files with 59401 additions and 16812 deletions

View file

@ -0,0 +1,25 @@
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
using Newtonsoft.Json.Linq;
namespace RethinkDb.Driver.Model
{
public class Profile
{
public Profile(JArray profileObj)
{
this.ProfileObj = profileObj;
}
public JArray ProfileObj { get; }
public static Profile FromJsonArray(JArray profileObj)
{
if( profileObj == null || profileObj.Count == 0 )
{
return null;
}
return new Profile(profileObj);
}
}
}