Romestead Assembly Reference

CandideServer.Models.ServerChunkedWorld

Type JSON

public class in CandideServer.Models

Methods14
Properties0
Fields9
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.Models
  • Base typeSystem.Object
  • Hash7D9D6E9F4416AA92B867FBD7D50BB4E4EC3EE2BB856B28A2EF1BED9C7035DABA

Relationships

Fields

NameVisibilitySignature
ChunkCountpublicpublic Microsoft.Xna.Framework.Point ChunkCount
Chunkspublicpublic CandideServer.Models.ServerWorldChunk[] Chunks
ChunkSizepublicpublic Microsoft.Xna.Framework.Point ChunkSize
GetChunksReuseListprivateprivate System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk> GetChunksReuseList
MaximumPositionpublicpublic Microsoft.Xna.Framework.Vector2 MaximumPosition
MinimumPositionpublicpublic Microsoft.Xna.Framework.Vector2 MinimumPosition
TileSizepublicpublic Microsoft.Xna.Framework.Point TileSize
WorldIdpublicpublic System.Guid WorldId
WorldSizepublicpublic Microsoft.Xna.Framework.Point WorldSize

Methods

CheckBounds

public System.Boolean CheckBounds(Microsoft.Xna.Framework.Vector2 position)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash70BC638914665EA85E9462850F624297999B4B795F8EE613C596E56836517D2A
  • Body hashF1D84542CECC99256AE784F51BE5AFF916E53161C83E7F3C8BDE823C6A8C8E86
  • IL size82
Called by

CheckBoundsTile

public System.Boolean CheckBoundsTile(System.Int32 x, System.Int32 y)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash0671AA29814FD3736A79425CFB223581D108A153B9557117788B59CF6E026976
  • Body hash5CE4BAB1775DF5E6BE00980B7873B65B7178F3BECB2D709752BD7D3987285CCE
  • IL size46
Called by

GetChunkIndex

public System.Int32 GetChunkIndex(System.Int32 x, System.Int32 y)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticFalse
  • VirtualFalse
  • HashC831109814E73CA4E31C268388B65FAE45E4B2AD9102ABD0205635AF4BC12F1F
  • Body hash020D53E8D49FA76E32DA73EFED88FFF4A125D86C9E71CE034ECB1A66C70D8661
  • IL size16

GetChunksForRectangle

public System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk> GetChunksForRectangle(CandideCreator.Shared.Models.RectangleF rectangleF)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Collections.Generic.List<CandideServer.Models.ServerWorldChunk>
  • StaticFalse
  • VirtualFalse
  • Hash4DA232611F9637A7863E7D0822F1465FD4AD60D608EE5B7E07005D74D96BC92C
  • Body hash073FF2F82A12398A134F55089848FB887C5B7772006EB38F8CF48E6D9E560A13
  • IL size18
Referenced calls
Called by

GetChunksForRectangle

public System.Void GetChunksForRectangle(CandideCreator.Shared.Models.RectangleF rectangleF, System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk> list)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash076EA6E1AF26ADB76959BD18D8EE44804D415B3F199C010B82A69FE4259B8471
  • Body hashE3A641FB07F9920FA642D68B0B7CBEF4AB129166BCE50DDE31446C8FC9B83400
  • IL size237
Referenced calls
  • System.Math::Max(System.Single, System.Single)
  • CandideCreator.Shared.Models.RectangleF::get_Right()
  • System.Math::Min(System.Single, System.Single)
  • CandideCreator.Shared.Models.RectangleF::get_Bottom()
  • Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
  • CandideServer.Models.ServerChunkedWorld::WorldToChunkPosition(Microsoft.Xna.Framework.Vector2)
  • System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk>::Clear()
  • System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk>::Add(!0)
Called by

GetChunksForTileRectangle

public System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk> GetChunksForTileRectangle(Microsoft.Xna.Framework.Rectangle rectangle)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Collections.Generic.List<CandideServer.Models.ServerWorldChunk>
  • StaticFalse
  • VirtualFalse
  • Hash8E8FFCCBA5EE92AE0AE4C70B2C2BE75659F7FDDB3DFD83B616633E6D38BF4A6C
  • Body hashEEB38A20912EA1474B719D5EC1B57EB39FB8DEF42DDF2A81608BC68A2F0D0206
  • IL size230
Referenced calls
  • System.Math::Max(System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Rectangle::get_Right()
  • System.Math::Min(System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Rectangle::get_Bottom()
  • Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)
  • CandideServer.Models.ServerChunkedWorld::TileToChunkPosition(Microsoft.Xna.Framework.Point)
  • System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk>::Clear()
  • System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk>::Add(!0)
Called by

GetWorldChunk

public CandideServer.Models.ServerWorldChunk& GetWorldChunk(Microsoft.Xna.Framework.Point chunkPosition)

Method metadata
  • Visibilitypublic
  • Return typeCandideServer.Models.ServerWorldChunk&
  • StaticFalse
  • VirtualFalse
  • HashA1E2DC0FD229C17BEE6D6CB22D75B419B2AB9B21671FFD5937DA4FDADF209A7D
  • Body hash90034821726282A12E481039A9998B4F4DFA3097A564F6FB8EBD0F5B9B28CE2E
  • IL size37
Called by

GetWorldChunk

public CandideServer.Models.ServerWorldChunk& GetWorldChunk(System.Int32 x, System.Int32 y)

Method metadata
  • Visibilitypublic
  • Return typeCandideServer.Models.ServerWorldChunk&
  • StaticFalse
  • VirtualFalse
  • Hash4D14CD504214C1A51AA93FC70616CBFC40F4525DAF88527A4065B45E90836072
  • Body hashE462CFACD031C14206F9467231730E8DB630D6D3DD9306B250C96B9E0534D02D
  • IL size27

TileToChunkPosition

public Microsoft.Xna.Framework.Point TileToChunkPosition(Microsoft.Xna.Framework.Point tilePosition)

Method metadata
  • Visibilitypublic
  • Return typeMicrosoft.Xna.Framework.Point
  • StaticFalse
  • VirtualFalse
  • Hash45A16EFC6118B2BAD930AA2B67E7D1A802FF55F0B8E90ECE96A4F04E74D4714E
  • Body hash90C717C8B9759D1BFC0CEA38E8D206864D7D6891791A85ABE82EB469085BD26C
  • IL size13
Referenced calls
  • Microsoft.Xna.Framework.Point::op_Division(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)
Called by

TileToChunkRelativePosition

public Microsoft.Xna.Framework.Point TileToChunkRelativePosition(Microsoft.Xna.Framework.Point tilePosition)

Method metadata
  • Visibilitypublic
  • Return typeMicrosoft.Xna.Framework.Point
  • StaticFalse
  • VirtualFalse
  • Hash0C1689C3421D91CA5C2F6FC0C735B845CA16F3017B5D1A024F80EBFDC371F55A
  • Body hash633E77AB560FB539B8280574DE717FDFCA6AE663FAA34D17824CC0B0AD2790EF
  • IL size66
Referenced calls

VectorTileToTilePosition

public Microsoft.Xna.Framework.Point VectorTileToTilePosition(Microsoft.Xna.Framework.Vector2 tilePosition)

Method metadata
  • Visibilitypublic
  • Return typeMicrosoft.Xna.Framework.Point
  • StaticFalse
  • VirtualFalse
  • HashEF997BD09357C81E9697222DBE0345C28FD8728CC75EEB61C1E614CA59CE2C70
  • Body hash273C115219334815073ED01E2656FA702B432D17A976FBB8EF4064F8D1AC4AB6
  • IL size77
Referenced calls
  • Microsoft.Xna.Framework.Vector2::Round()
  • System.Math::Min(System.Int32, System.Int32)
  • System.Math::Max(System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)
Called by

WorldToChunkPosition

public Microsoft.Xna.Framework.Point WorldToChunkPosition(Microsoft.Xna.Framework.Vector2 worldPosition)

Method metadata
  • Visibilitypublic
  • Return typeMicrosoft.Xna.Framework.Point
  • StaticFalse
  • VirtualFalse
  • Hash540BC862DD31FD1630BEA32AF1DB290A5B103EBEE2F24A9506F3CE09966518EC
  • Body hash39E4835E2B96E918A0904BF7FAFA8A718B0C440AC76F85B2A8E2FDE501888C9A
  • IL size49
Referenced calls
Called by

WorldToChunkPositionRoundUp

public Microsoft.Xna.Framework.Point WorldToChunkPositionRoundUp(Microsoft.Xna.Framework.Vector2 worldPosition)

Method metadata
  • Visibilitypublic
  • Return typeMicrosoft.Xna.Framework.Point
  • StaticFalse
  • VirtualFalse
  • Hash12038B195391915F7A2E04B33F4346B59741F514E95CEB622EEBFBFD34E119C9
  • Body hashA7E828A532160A467CB6A66979CCB191B91E5213796FD8A79EBE3BA44A9E21F0
  • IL size77
Referenced calls
Called by

WorldToTilePosition

public Microsoft.Xna.Framework.Point WorldToTilePosition(Microsoft.Xna.Framework.Vector2 worldPosition)

Method metadata
  • Visibilitypublic
  • Return typeMicrosoft.Xna.Framework.Point
  • StaticFalse
  • VirtualFalse
  • Hash98837FB29F65469E30768E4675D4C20361506342304C18854CA0FCB015B92700
  • Body hash9412B547C957C6457E1D999E7C1DEF819EAD793AC52D3EA652FE09C63A8F0C1C
  • IL size38
Referenced calls
Called by