public new static ThingReceivedPacket FromRaw(RealmData realmData, JObject data) { return(new ThingReceivedPacket { realmThing = RealmThing.FromRaw(realmData, (JObject)data["realmThing"]), userFrom = ID.Find(realmData.users, (int)data["userFrom"]) }); }
public new static SendThingPacket FromRaw(RealmData realmData, JObject data) { return(new SendThingPacket { realmThing = RealmThing.FromRaw(realmData, (JObject)data["realmThing"]), userTo = ID.Find(realmData.users, (int)data["userTo"]) }); }