Exemplo n.º 1
0
 public override object AsJson()
 {
     return(new {
         Id,
         type = GetType().AssemblyQualifiedName,
         Position = PositionJson.ToJson(this)
     });
 }
Exemplo n.º 2
0
 public override object AsJson()
 {
     return(new {
         Id,
         type = GetType().AssemblyQualifiedName,
         Position = PositionJson.ToJson(this),
         Items = new List <object>()
         {
             Inventory.slots[0].Item.AsJson()
         }
     });
 }