Beispiel #1
0
 public JsonPlayer( JsonDataService service, Guid userId, JsonDataItem jsonData )
     : base(service, userId)
 {
     data = jsonData;
     resources = new ItemCollection( ItemListJsonConverter.FromJson( (JObject) jsonData["Resources"] ), collection => SaveItems() );
 }
Beispiel #2
0
 internal void InitializeData( ItemCollection collection, JsonDataObject data )
 {
     base.InitializeData( collection.DataService, collection, data );
 }