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