private static void TileBox_Callback( Mobile from, Map map, Point3D start, Point3D end, object state ) { TileState ts = (TileState)state; bool mapAvg = false; switch ( ts.m_ZType ) { case TileZType.Fixed: { start.Z = end.Z = ts.m_FixedZ; break; } case TileZType.MapAverage: { mapAvg = true; break; } } Invoke( from, start, end, ts.m_Args, null, ts.m_Outline, mapAvg ); }