Exemple #1
0
 public void ExposeData()
 {
     MapExposeUtility.ExposeUshort(this.map, (IntVec3 c) => SnowGrid.SnowFloatToShort(this.GetDepth(c)), delegate(IntVec3 c, ushort val)
     {
         this.depthGrid[this.map.cellIndices.CellToIndex(c)] = SnowGrid.SnowShortToFloat(val);
     }, "depthGrid");
 }
Exemple #2
0
 private ushort <ExposeData> m__0(IntVec3 c)
 {
     return(SnowGrid.SnowFloatToShort(this.GetDepth(c)));
 }