Пример #1
0
 public RawPIObject(int id, string name, PIObject.ObjectType type)
 {
     Id   = id;
     Name = name;
     Type = type;
     objectList.AddRange(DBHandler.GetInstance().GetPlanetsFromRawPIID(id));
 }
Пример #2
0
 public P2Object(int id, string name, PIObject.ObjectType type)
 {
     Id   = id;
     Name = name;
     Type = type;
     objectList.AddRange(DBHandler.GetInstance().GetP1ComponentsByP2ID(id));
 }
Пример #3
0
 public Planet(int id, string name, PIObject.ObjectType type)
 {
     Id   = id;
     Name = name;
     Type = type;
 }