public static ItemBag CreateBag() { var bag = new Database.Records.ItemBagRecord(); bag.ID = m_currentId; bag.Engine.Record = bag; m_currentId++; return bag.Engine; }
public static ItemBag CreateBag() { var bag = new Database.Records.ItemBagRecord(); bag.ID = m_currentId; bag.Engine.Record = bag; m_currentId++; return(bag.Engine); }
public ItemBag(ItemBagRecord record) { this.Record = record; }