コード例 #1
0
 public Inventory GetInventory(Craft craft)
 {
     return(craft.GetInventory(this));
 }
コード例 #2
0
ファイル: Station.cs プロジェクト: kevinwall1992/Sol
 public IEnumerable <Room> GetRooms(User owner)
 {
     return(Craft.GetInventory(owner).Items
            .SelectComponents <Item, Room>());
 }