示例#1
0
 public RoofDef RoofAt(IntVec3 c)
 {
     return(DefDatabase <RoofDef> .GetByShortHash(this.roofGrid[this.map.cellIndices.CellToIndex(c)]));
 }
示例#2
0
 public RoofDef RoofAt(int x, int z)
 {
     return(DefDatabase <RoofDef> .GetByShortHash(this.roofGrid[this.map.cellIndices.CellToIndex(x, z)]));
 }
示例#3
0
 public static HediffDef Named(string defName)
 {
     return(DefDatabase <HediffDef> .GetNamed(defName));
 }