示例#1
0
 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"])
     });
 }
示例#2
0
 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"])
     });
 }