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
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue