Aetheria/Assets/Scripts/ServerShared/NIH/RethinkDb.Driver/Model/Profile.cs
hyperion51 e96146b7bb Out with MagicOnion, in with LiteNetLib
Removed MagicOnion
Added LiteNetLib
Created client and server abstractions
Fixed serialization bugs
2020-03-24 14:36:22 +00:00

25 lines
No EOL
585 B
C#

#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);
}
}
}