Romestead Assembly Reference

CandideServer.World.Generation.PointOfInterestInserter

Type JSON

public class in CandideServer.World.Generation

Methods2
Properties0
Fields0
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.World.Generation
  • Base typeSystem.Object
  • HashC72EAC997695F6996F3BB9AE4B95CCCAB48EDA58F9723CE05178D5FFB237F97B

Relationships

Base type

System.Object

Methods

LoadInWorldAt

public System.Void LoadInWorldAt(System.String mapName, Microsoft.Xna.Framework.Point tilePosition, System.Boolean flip, System.Action<CandideServer.ServerControllers.SpawnEntityArgs> spawnEntityCallback)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash4B2CECF243182042C2A81DE712768865F8631310B8542F9DFAD340DEC612DD14
  • Body hash3FEAA64C062D6BBD56F3A084484C3DDE8DF90A4F2D2044B719D5366E675A99E5
  • IL size847
Referenced calls
  • CandideServer.World.ServerWorldDataManager::GetWorldDataOrNull(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)
  • System.Console::WriteLine(System.String)
  • Microsoft.Xna.Framework.Point::ToVector2()
  • Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)
  • System.Globalization.CultureInfo::get_InvariantCulture()
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32, System.IFormatProvider)
  • System.String::Create(System.IFormatProvider, System.Runtime.CompilerServices.DefaultInterpolatedStringHandler&)
  • CandideCreator.Shared.Models.World::get_TiledMapFileName()
  • CandideServer.World.Generation.PointOfInterestInserter::PlaceTilesBasedOnTileMapShared(Microsoft.Xna.Framework.Point, System.Boolean, CandideCreator.Shared.Tiled.TiledMap, System.String, System.Boolean, System.Boolean, Shared.Models.WorldTile[,], System.SByte[,])
  • Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)
  • System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>::GetEnumerator()
  • List.Enumerator<CandideServer.World.ServerEntitySpawnData>::get_Current()
  • Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
  • System.Collections.Generic.Dictionary<System.Guid, System.String>::TryGetValue(!0, !1&)
  • CandideServer.World.Generation.PointOfInterestInserter::<LoadInWorldAt>g__SpawnCrop|0_1(Microsoft.Xna.Framework.Vector3, System.String)
  • CandideServer.World.Generation.PointOfInterestInserter::<LoadInWorldAt>g__SpawnEntity|0_0(CandideServer.World.ServerEntitySpawnData, Microsoft.Xna.Framework.Vector3, PointOfInterestInserter.<>c__DisplayClass0_0&)
  • List.Enumerator<CandideServer.World.ServerEntitySpawnData>::MoveNext()
  • System.IDisposable::Dispose()
Called by
String literals
  • Failed to load in world-based PoI with name
  • at position
  • because it lacks tile data
  • x

PlaceTilesBasedOnTileMapShared

public System.ValueTuple<System.Boolean, System.Boolean> PlaceTilesBasedOnTileMapShared(Microsoft.Xna.Framework.Point tilePosition, System.Boolean flip, CandideCreator.Shared.Tiled.TiledMap map, System.String tiledMapFileName, System.Boolean setBlockSpawnTiles, System.Boolean updateTileHeights, Shared.Models.WorldTile[,] worldTiles, System.SByte[,] tileHeights)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.Boolean, System.Boolean>
  • StaticTrue
  • VirtualFalse
  • HashFFAAEB61ED215175C0F26410A2742B3A73A0289698BB4928E3462E9F877CBB45
  • Body hash882B65C6A194BAE46E53A0A88DEC5260429801DACAF48669433253304E50B67C
  • IL size1116
Referenced calls
  • CandideCreator.Shared.Tiled.TiledMap::GetLayer(System.String)
  • PointOfInterestInserter.<>c::<PlaceTilesBasedOnTileMapShared>b__1_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>)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)
  • Shared.Models.WorldTile[,]::Address(System.Int32, System.Int32)
  • System.Nullable<WorldTile.GroundType>::get_HasValue()
  • System.Nullable<WorldTile.GroundType>::GetValueOrDefault()
  • PointOfInterestInserter.<>c::<PlaceTilesBasedOnTileMapShared>b__1_1(TileSetCollection.TileSetWrapper)
  • System.SByte[,]::Get(System.Int32, System.Int32)
  • System.SByte[,]::Set(System.Int32, System.Int32, System.SByte)
  • System.Boolean[,]::Set(System.Int32, System.Int32, System.Boolean)
  • System.ValueTuple<System.Boolean, System.Boolean>::.ctor(!0, !1)
Called by
String literals
  • ground
  • Invalid ground tile found when spawning point of interest using tiled map file
  • . Found
  • when expecting a number in the range
  • -
  • structure
  • Invalid structure tile found when spawning point of interest using tiled map file