API:PropManager

From HACKED BY DEL.ICIO.US!
Jump to: navigation, search

The PropManager class is a class from the root namespace (Assembly-CSharp.dll).
In order to get the current game PropManager instance, use Singleton<PropManager>.instance.


Properties

Property Type Description
Property MarkersVisible bool
Field or Variable ID_ACIMap int
Field or Variable ID_AtlasRect int
Field or Variable ID_Color int
Field or Variable ID_HeightMap int
Field or Variable ID_HeightMapping int
Field or Variable ID_MainTex int
Field or Variable ID_MarkerAlpha int
Field or Variable ID_ObjectIndex int
Field or Variable ID_PropColor int
Field or Variable ID_PropLocation int
Field or Variable ID_PropObjectIndex int
Field or Variable ID_RollLocation int
Field or Variable ID_RollParams int
Field or Variable ID_SurfaceMapping int
Field or Variable ID_WaterHeightMap int
Field or Variable ID_WaterHeightMapping int
Field or Variable ID_WaterSurfaceMapping int
Field or Variable ID_XYSMap int
Field or Variable m_infoCount int
Field or Variable m_lodAciAtlas Texture2D
Field or Variable m_lodRgbAtlas Texture2D
Field or Variable m_lodXysAtlas Texture2D
Field or Variable m_materialBlock MaterialPropertyBlock
Field or Variable m_propCount int
Field or Variable m_propGrid ushort[]
Field or Variable m_props Array16<PropInstance>
Field or Variable m_propsUpdated bool
Field or Variable m_updatedProps ulong[]
Constant MAX_ASSET_PROPS int
Constant MAX_MAP_PROPS int
Constant MAX_PROP_COUNT int
Constant PROPGRID_CELL_SIZE float
Constant PROPGRID_RESOLUTION int

Public Methods

Method Return Type Description
Method or Function AfterTerrainUpdated(TerrainArea heightArea, TerrainArea surfaceArea, TerrainArea zoneArea) void
Method or Function BeginRenderingImpl(RenderManager.CameraInfo cameraInfo) void
Method or Function TerrainUpdated(TerrainArea heightArea, TerrainArea surfaceArea, TerrainArea zoneArea) void
Method or Function CalculateGroupData(int groupX, int groupZ, int layer, ref int vertexCount, ref int triangleCount, ref int objectCount, ref RenderGroup.VertexArrays vertexArrays) bool
Method or Function CheckLimits() bool
Method or Function CheckReferences() void
Method or Function CreateProp(out ushort prop, ref ColossalFramework.Math.Randomizer randomizer, PropInfo info, Vector3 position, float angle, bool single) bool Tries to create a prop. Returns false if it failed.
Method or Function DestroyProperties(PropProperties properties) void
Method or Function EndRenderingImpl(RenderManager.CameraInfo cameraInfo) void
Method or Function GetData(FastList<IDataContainer> data) void
Method or Function GetRandomPropInfo(ref ColossalFramework.Math.Randomizer randomizer, ItemClass.Service service) PropInfo Returns a random prop prefab from a specified service type.
Method or Function InitializeProperties(PropProperties properties) void
Method or Function InitRenderData() void
Method or Function MoveProp(ushort prop, Vector3 position) void Moves the prop to a specified position in space.

THIS ARTICLE IS NOT FULL YET !