示例#1
0
 public IShipHull IdToRessource(string id)
 {
     UsableShipHull.TryGetValue(id, out IShipHull result);
     return(result);
 }
示例#2
0
 public void ExtractTags()
 {
     TagToHullId = UsableShipHull.SelectMany(x => x.Value.Tags.Select(tag => new { x.Key, tag }))
                   .GroupBy(x => x.tag, x => x.Key)
                   .ToDictionary(g => g.Key, g => g.ToList());
 }