public class in Candide.World
Type metadata
- Assembly
Romestead - Namespace
Candide.World - Base type
System.Object - Hash
0EC6C8AE4E2D132D5E885F70C615AD90087AEC4F424904E93BBE4D410244469A
Relationships
Base type
System.Object
Referenced by types
Candide.CandideUI.WorldOverview.WorldOverviewWindowCandide.Database.Doodad.DoodadDatabaseManagerCandide.Save.WorldMapSaveManagerCandide.World.AutoMesh.AutoMesherCandide.World.AutoTile.AutoTileLayerCandide.World.AutoTile.AutoTilerCandide.World.AutoTile.AutoTilerLayersCandide.World.ChunkedWorldCandide.World.ExteriorWorldDataCandide.World.ExteriorWorldHandlerCandide.World.FogOfWarWorldMapCandide.World.InteriorWorldHandler
Fields
| Name | Visibility | Signature |
|---|---|---|
AudioWorld# | public | public Candide.Sound.AudioWorld AudioWorld |
EntitySystem# | public | public Shared.Entity.EntitySystem EntitySystem |
InteriorTiles# | public | public Shared.Models.InteriorTile[,] InteriorTiles |
Map# | public | public CandideCreator.Shared.Tiled.TiledMap Map |
MaximumPosition# | public | public Microsoft.Xna.Framework.Vector2 MaximumPosition |
MinimumPosition# | public | public Microsoft.Xna.Framework.Vector2 MinimumPosition |
Name# | public | public System.String Name |
Nodes# | public | public System.Collections.Generic.Dictionary<System.String, Candide.World.TransportNodeInstance> Nodes |
SharedWorld# | public | public CandideCreator.Shared.Models.World SharedWorld |
TerrainCollisions# | public | public Shared.Collision.CollisionTerrainGroup TerrainCollisions |
TileHeights# | public | public System.SByte[,] TileHeights |
Tiles# | public | public Shared.Models.WorldTile[,] Tiles |
Time# | public | public System.Single Time |
TriggerHandler# | public | public Candide.Events.TriggerHandler TriggerHandler |
World3D# | public | public Candide.World.World3D World3D |
_disposed# | private | private System.Boolean _disposed |
_heightAtPointLookUp# | private | private Shared.World.HeightAtPointLookUp _heightAtPointLookUp |
Properties
| Name | Visibility | Signature |
|---|---|---|
HeightAtPointLookup# | public | public Shared.World.HeightAtPointLookUp HeightAtPointLookup |
Methods
Dispose
#
public System.Void Dispose()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
957F8D766CB523C375691F3355C66E42F9AF7385D34278100CFA73E4E3747639 - Body hash
2C0470A08C2385DE342BE2C41C57262E511182FCA6DBFAB6526EFB33DC4BCD4E - IL size67
GenerateAutoMesh
#
public CandideCreator.Shared.Models.IndexedMesh GenerateAutoMesh(Microsoft.Xna.Framework.Graphics.GraphicsDevice graphics, Candide.World.AutoTile.AutoTileRuleSet ruleSet, CandideCreator.Shared.Tiled.TiledMap map, Shared.Models.WorldTile[,] worldTiles, System.SByte[,] tileHeights, System.Int32 filterThreshold, System.Single filterDirectionThreshold)
Method metadata
- Visibilitypublic
- Return type
CandideCreator.Shared.Models.IndexedMesh - StaticTrue
- VirtualFalse
- Hash
92B85F558373F14D8814CC63FB33C5DA0ABAA2E55950E9DC8AC2CF63C120AF1D - Body hash
EA32E659C026A2F82E9374B601AA1E819572F29E6A6C881AD295B788A81D30AB - IL size864
Referenced calls
System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn>::.ctor()Candide.World.AutoMesh.AutoMesher::MakeMesh(System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn>, Candide.World.AutoTile.AutoTileRuleSet, Shared.Models.WorldTile[,], System.SByte[,], System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32)System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn>::get_Count()CandideCreator.Shared.Models.IndexedMesh::.ctor()System.Collections.Generic.List<Microsoft.Xna.Framework.Vector3>::.ctor()System.Collections.Generic.List<CandideCreator.Shared.Models.IndexedFace>::.ctor()System.Collections.Generic.List<CandideCreator.Shared.Models.IndexedSurface>::.ctor()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector3)System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn>::get_Item(System.Int32)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::Cross(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::Normalize(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::Dot(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)System.Collections.Generic.List<Microsoft.Xna.Framework.Vector3>::Add(!0)CandideCreator.Shared.Models.IndexedFace::.ctor(System.Int32, System.Int32, System.Int32, CandideCreator.Shared.Models.IndexedMesh)System.Collections.Generic.List<CandideCreator.Shared.Models.IndexedFace>::Add(!0)System.Collections.Generic.List<CandideCreator.Shared.Models.IndexedFace>::.ctor(System.Int32)System.Runtime.InteropServices.CollectionsMarshal::SetCount(System.Collections.Generic.List<!!0>, System.Int32)System.Runtime.InteropServices.CollectionsMarshal::AsSpan(System.Collections.Generic.List<!!0>)System.Span<CandideCreator.Shared.Models.IndexedFace>::get_Item(System.Int32)CandideCreator.Shared.Models.IndexedSurface::.ctor(System.Collections.Generic.List<CandideCreator.Shared.Models.IndexedFace>, System.Int32[], CandideCreator.Shared.Models.IndexedMesh)System.Collections.Generic.List<CandideCreator.Shared.Models.IndexedSurface>::Add(!0)Microsoft.Xna.Framework.Graphics.VertexBuffer::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Graphics.VertexDeclaration, System.Int32, Microsoft.Xna.Framework.Graphics.BufferUsage)Microsoft.Xna.Framework.Graphics.VertexBuffer::SetData(!!0[], System.Int32, System.Int32)System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn>::ToArray()World.<>c::<GenerateAutoMesh>b__21_0(CandideCreator.Shared.GraphicsModels.VertexTbn)System.Func<CandideCreator.Shared.GraphicsModels.VertexTbn, Microsoft.Xna.Framework.Vector3>::.ctor(System.Object, System.IntPtr)System.Linq.Enumerable::Select(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, !!1>)System.Linq.Enumerable::ToList(System.Collections.Generic.IEnumerable<!!0>)System.Collections.Generic.List<CandideCreator.Shared.Models.IndexedFace>::get_Count()System.Collections.Generic.List<CandideCreator.Shared.Models.IndexedSurface>::.ctor(System.Int32)
public System.Void GenerateAutoTileLayer(Microsoft.Xna.Framework.Graphics.GraphicsDevice graphics, Candide.World.AutoTile.AutoTiler tiler, CandideCreator.Shared.Tiled.TiledMap map, Shared.Models.WorldTile[,] worldTiles, System.SByte[,] tileHeights)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
ABEF50916C6C158CAAC4BE2F80D2A20CFCBF2310E15E34D646C24BDE49236004 - Body hash
FC83F6F33F8889C75317AA5A9558955E3B3745FB81DC5601FDC3F3965CA4A3F7 - IL size412
Referenced calls
CandideCreator.Shared.Tiled.TiledMap::GetLayer(System.String)Microsoft.Xna.Framework.Graphics.RenderTarget2D::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, System.Int32, System.Int32, System.Boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat, Microsoft.Xna.Framework.Graphics.DepthFormat, System.Int32, Microsoft.Xna.Framework.Graphics.RenderTargetUsage)Microsoft.Xna.Framework.Graphics.GraphicsDevice::SetRenderTarget(Microsoft.Xna.Framework.Graphics.RenderTarget2D)Microsoft.Xna.Framework.Color::get_Transparent()Microsoft.Xna.Framework.Graphics.GraphicsDevice::Clear(Microsoft.Xna.Framework.Color)Microsoft.Xna.Framework.Graphics.RenderTarget2D::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, System.Int32, System.Int32, System.Boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat, Microsoft.Xna.Framework.Graphics.DepthFormat)Candide.World.AutoTile.AutoTiler::RenderAll(Shared.Models.WorldTile[,], System.SByte[,], System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, Microsoft.Xna.Framework.Graphics.RenderTarget2D, Microsoft.Xna.Framework.Graphics.RenderTarget2D, Microsoft.Xna.Framework.Graphics.RenderTarget2D)World.<>c::<GenerateAutoTileLayer>b__22_0(CandideCreator.Shared.Tiled.TiledLayer)System.Predicate<CandideCreator.Shared.Tiled.TiledLayer>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.List<CandideCreator.Shared.Tiled.TiledLayer>::RemoveAll(System.Predicate<!0>)CandideCreator.Shared.Tiled.ImageLayer::.ctor(System.String, Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Graphics.Texture2D)System.Collections.Generic.List<CandideCreator.Shared.Tiled.TiledLayer>::Add(!0)CandideCreator.Shared.Tiled.TiledMap::Draw(Microsoft.Xna.Framework.Graphics.GraphicsDevice)Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)Microsoft.Xna.Framework.Graphics.SpriteBatch::Begin(Microsoft.Xna.Framework.Graphics.SpriteSortMode, Microsoft.Xna.Framework.Graphics.BlendState, Microsoft.Xna.Framework.Graphics.SamplerState, Microsoft.Xna.Framework.Graphics.DepthStencilState, Microsoft.Xna.Framework.Graphics.RasterizerState, Microsoft.Xna.Framework.Graphics.Effect, System.Nullable<Microsoft.Xna.Framework.Matrix>)Microsoft.Xna.Framework.Rectangle::get_Location()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Color::get_Black()CandideCreator.Shared.Graphics.PrimitiveRenderer::DrawRect(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, Microsoft.Xna.Framework.Color, System.Single)CandideCreator.Shared.Tiled.TiledMap::GetOverLayer(System.String)Microsoft.Xna.Framework.Vector2::get_Zero()CandideCreator.Shared.Tiled.TiledLayer::Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, CandideCreator.Shared.Tiled.TileSetCollection)Microsoft.Xna.Framework.Graphics.SpriteBatch::End()
String literals
autotilesOVERLAY-darkness
LoadEntities
#
public System.Void LoadEntities()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
58E85B1C4FCE35121E809BE416628741164A486D710E33CD3BEA7BB2C0E797E9 - Body hash
4BB7CE399BF5993BDC713B8F06620B55D6D5E20E39B13FBA057E39A89E5879F3 - IL size47
Referenced calls
Shared.Entity.EntitySystem::.ctor()Candide.Database.Doodad.DoodadDatabaseManager::LoadDoodads(Candide.World.World)
LoadInteriorTilesFromMap
#
public Shared.Models.InteriorTile[,] LoadInteriorTilesFromMap()
Method metadata
- Visibilitypublic
- Return type
Shared.Models.InteriorTile[,] - StaticFalse
- VirtualFalse
- Hash
4714E0D02254C14E58F4CEE46D5C2D016F62E07BD3AB28A311E59ADF502EE142 - Body hash
0B7DD6E176553E83ED3E55EA7392A80858377E12D4699364D360C07F5F1E4780 - IL size236
Referenced calls
CandideCreator.Shared.Tiled.TiledMap::GetLayer(System.String)World.<>c::<LoadInteriorTilesFromMap>b__23_0(TileSetCollection.TileSetWrapper)System.Func<TileSetCollection.TileSetWrapper, System.Boolean>::.ctor(System.Object, System.IntPtr)System.Linq.Enumerable::FirstOrDefault(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, System.Boolean>)Shared.Models.InteriorTile[,]::.ctor(System.Int32, System.Int32)Shared.Models.InteriorTile[,]::Set(System.Int32, System.Int32, Shared.Models.InteriorTile)
String literals
interior-tile-type
ResetState
#
public System.Void ResetState()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
EF1318268446B547175D27A4464F577C4B92A13E418B5818AE0FA352743FC71E - Body hash
0FD6AB8456EE3436011C6DE0AA719E3BDD1387BB0F56C032A075C27C12F88C73 - IL size13
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
7D8673CC7DC95391FDFF82848BBC2F199EC414A1F49854547C9C22FAF2C1240E - Body hash
4F299A5232E6FF10282A2C57ADD12277B87736F5F9A052597AABE2F52A180AD9 - IL size91
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()CandideCreator.Shared.Tiled.TiledMap::Update(Microsoft.Xna.Framework.GameTime)Candide.Sound.AudioWorld::Update(Microsoft.Xna.Framework.GameTime)Shared.Entity.EntitySystem::UpdateAll(Microsoft.Xna.Framework.GameTime)Candide.Events.TriggerHandler::Update(Microsoft.Xna.Framework.GameTime)
WorldLoad
#
public System.Void WorldLoad()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
4A14FB4FEC521E95F56E9AF57789DEC72D46ED0CD4B12718B32BF0D6F20CDF33 - Body hash
3F7A626FE3D4ED651D64432C6C3E311473E7240EF64BE5948E95F1F5D18100BC - IL size34
Referenced calls
WorldUnload
#
public System.Void WorldUnload()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
CD594E23F39A1AE0670BDE6C5BF3B7ADCE389556EA32A399A86CC2E3CA6281BE - Body hash
60D479B5D515EEB93871D194F237032B2B4BC59A6F717FD3DF532ABEA88EFDA5 - IL size34