Romestead Assembly Reference

Candide.Database.Doodad.DoodadDatabaseManager

Type JSON

public class in Candide.Database.Doodad

Methods12
Properties0
Fields7
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Database.Doodad
  • Base typeSystem.Object
  • Hash484C737F0F441B992A059F74D3FDD87CF346FF08E7ABEC853533C8462A0CEC42

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
AiFieldStringprivateprivate System.String AiFieldString
BaseDoodadspublicpublic System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Models.BaseDoodad> BaseDoodads
ControllerFieldStringprivateprivate System.String ControllerFieldString
Databasespublicpublic System.Collections.Generic.Dictionary<System.String, CandideCreator.Shared.Models.DoodadDatabase> Databases
EntitySystemspublicpublic System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem> EntitySystems
LuaInstancepublicpublic NLua.Lua LuaInstance
Namespublicpublic System.Collections.Generic.Dictionary<System.String, System.Guid> Names

Methods

ApplyCustomPropertiesAndScript

public System.Void ApplyCustomPropertiesAndScript(CandideCreator.Shared.Models.WorldDoodad doodad, Shared.Entity.EntityWrapper entity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashC425DFE3C84426F548B1649ADDEAB6CDE4B602FA06284C7809061A5C5DB6C872
  • Body hash4AAAD2702AFD007BE1C149C6FC629102817FF6380C3AE7B4D7E75AF30DEBFD99
  • IL size78
Referenced calls
Called by

ConfigureReflection

public System.Void ConfigureReflection(CandideCreator.Shared.Serialization.CandideReflection reflection)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash5F70E234DCCD9638708F490F2F3F47B3123A3B70D64504CCF888F0893A7FD690
  • Body hashFBC9DF0DEE45AB2BAE352D4E4158C6E0197F92C2B55C3C45EE5ACF3A09C341F3
  • IL size172
Referenced calls
  • Candide.Database.Doodad.EntityWrapperSerializer::.ctor()
  • CandideCreator.Shared.Serialization.CandideReflection::Register(CandideCreator.Shared.Serialization.ITypeSerializer)
  • Candide.Database.Doodad.ControllerTypeHandler::.ctor(System.Int32)
  • CandideCreator.Shared.Serialization.CandideReflection::Register(CandideCreator.Shared.Serialization.ITypeHandler)
  • CandideCreator.Shared.Serialization.CandideReflection::Configure()
  • CandideCreator.Shared.Serialization.TypeHandlers.GenericTypeHandler::SetExtraDataType()
  • DoodadDatabaseManager.<>c::<ConfigureReflection>b__7_0(CandideCreator.Shared.Serialization.CandideDeserializer, CandideCreator.Shared.Models.BaseDoodad)
  • System.Action<CandideCreator.Shared.Serialization.CandideDeserializer, CandideCreator.Shared.Models.BaseDoodad>::.ctor(System.Object, System.IntPtr)
  • CandideCreator.Shared.Serialization.TypeHandlers.GenericTypeHandler::AfterDeserialize(System.Action<CandideCreator.Shared.Serialization.CandideDeserializer, !!0>)
  • DoodadDatabaseManager.<>c::<ConfigureReflection>b__7_1(CandideCreator.Shared.Serialization.CandideDeserializer, Shared.Models.Items.ItemInstanceModel)
  • System.Action<CandideCreator.Shared.Serialization.CandideDeserializer, Shared.Models.Items.ItemInstanceModel>::.ctor(System.Object, System.IntPtr)
  • DoodadDatabaseManager.<>c::<ConfigureReflection>b__7_2(CandideCreator.Shared.Serialization.CandideDeserializer, CandideCreator.Shared.Models.World)
  • System.Action<CandideCreator.Shared.Serialization.CandideDeserializer, CandideCreator.Shared.Models.World>::.ctor(System.Object, System.IntPtr)
Called by

CountDoodads

public System.ValueTuple<System.Int32, System.Int32> CountDoodads(CandideCreator.Shared.Models.World worldData)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.Int32, System.Int32>
  • StaticTrue
  • VirtualFalse
  • Hash4DDCC424B179F837429551141472F2E4D081E919FF55AD46CD930DD95DC6CFE2
  • Body hash9A97C94DFEF614118A5058782998F81765CE8D58C1CB9659E210BF6B5E007D26
  • IL size105
Referenced calls
  • CandideCreator.Shared.Models.World::get_Doodads()
  • System.Collections.ObjectModel.Collection<CandideCreator.Shared.Models.WorldDoodad>::GetEnumerator()
  • System.Collections.Generic.IEnumerator<CandideCreator.Shared.Models.WorldDoodad>::get_Current()
  • System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem>::TryGetValue(!0, !1&)
  • Candide.Database.Doodad.DoodadDatabaseManager::IsComplexEntity(Shared.Entity.EntitySystem)
  • System.Collections.IEnumerator::MoveNext()
  • System.IDisposable::Dispose()
  • System.ValueTuple<System.Int32, System.Int32>::.ctor(!0, !1)

IsComplexEntity

public System.Boolean IsComplexEntity(Shared.Entity.EntitySystem entityData)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash84A9C68179CF7E496D7D18A60DE8837A3C05076A3DC0BBBDCE4C8FCC1ABD38B9
  • Body hashF7ED7408B2AE2FC6F900539A544A3132E8EC358EE77E9E49D4B280A1C1E04704
  • IL size59
Referenced calls
Called by

LoadComplexDoodads

public System.Void LoadComplexDoodads(Candide.World.ExteriorWorldData worldData, Shared.Entity.EntitySystem entitySystem)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash388795F044D4CCE90188E2741CCE063FD8927F4EF5C8BF999E5D2060052EDF5F
  • Body hash9328CAB06A373F8941B62E8BBC9287554BAE05B7BE0A1F387774DE0CD3A66A54
  • IL size242
Referenced calls
Called by

LoadDoodadDatabase

public System.Void LoadDoodadDatabase(Microsoft.Xna.Framework.Content.ContentManager content, System.String directoryPath, System.String fileName)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashAB9D8A399D12AD4E3E41C8632686B0EC081FB1537DC5446ED485C2D4A1DABE87
  • Body hash0A5E49EEFE3A1BDFC59BF1A9A663094596AA7C896DDF8EF86FF706920DE6EFEE
  • IL size182
Referenced calls
String literals
  • /
  • .cdb
  • Failed to load doodad database

LoadDoodads

public System.Void LoadDoodads(Candide.World.World world)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE3F091041A401EB32508250DB92FF476312E3AE40306D7F9CF7AC48737AE6590
  • Body hash84940CA9F1709C23B3766569C0F2AA3A4EF2510EF940F5228B2C41DFBE3911D0
  • IL size126
Referenced calls
Called by

LoadNonComplexDoodads

public System.Void LoadNonComplexDoodads(Candide.World.ExteriorWorldData worldData)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashA75604C122F5A000A92A29E862CD255C1CCB0FF78C92891220DF398B8D0FCB11
  • Body hashC193382B8F3836DE58F55F3BC43648A21DDF2F826639628D56DB869FE7BAC97E
  • IL size221
Referenced calls

RunEntityLoadScript

public System.Void RunEntityLoadScript(CandideCreator.Shared.Models.WorldDoodad doodad, Shared.Entity.EntityWrapper entity, CandideCreator.Shared.Helpers.Parameters parameters)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1C84C70083EA482A3FB8332DC395F00A9DF9EC0F45BB5A3E8040C17D6640301B
  • Body hashA45A5D74E5495293F7512DD9DF8597E2A10647705D02A8F55E6E82CB4A188495
  • IL size637
Referenced calls
  • NLua.Lua::get_State()
  • KeraLua.Lua::LoadString(System.String, System.String)
  • KeraLua.Lua::SetGlobal(System.String)
  • KeraLua.Lua::NewTable()
  • NLua.Lua::set_Item(System.String, System.Object)
  • Candide.Scripts.LuaMethods::Vec2(System.Single, System.Single)
  • System.Func<System.Single, System.Single, Microsoft.Xna.Framework.Vector2>::.ctor(System.Object, System.IntPtr)
  • Candide.Scripts.LuaMethods::Vec3(System.Single, System.Single, System.Single)
  • System.Func<System.Single, System.Single, System.Single, Microsoft.Xna.Framework.Vector3>::.ctor(System.Object, System.IntPtr)
  • Candide.Scripts.LuaMethods::Vec4(System.Single, System.Single, System.Single, System.Single)
  • System.Func<System.Single, System.Single, System.Single, System.Single, Microsoft.Xna.Framework.Vector4>::.ctor(System.Object, System.IntPtr)
  • KeraLua.Lua::GetGlobal(System.String)
  • KeraLua.Lua::SetUpValue(System.Int32, System.Int32)
  • NLua.Lua::GetFunction(System.String)
  • System.Array::Empty()
  • NLua.LuaFunction::Call(System.Object[])
  • NLua.Lua::GetTable(System.String)
  • NLua.Lua::GetTableDict(NLua.LuaTable)
  • System.Collections.Generic.Dictionary<System.Object, System.Object>::GetEnumerator()
  • Dictionary.Enumerator<System.Object, System.Object>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Object, System.Object>::Deconstruct(!0&, !1&)
  • System.String::op_Equality(System.String, System.String)
  • System.Object::ToString()
  • CandideCreator.Shared.Helpers.Parameters::get_Dictionary()
  • System.Collections.Generic.Dictionary<System.String, System.String>::set_Item(!0, !1)
  • Dictionary.Enumerator<System.Object, System.Object>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
String literals
  • doodad_load
  • doodad_load_env
  • doodad_load_env.entity
  • doodad_load_env.Entity
  • doodad_load_env.vec2
  • doodad_load_env.vec3
  • doodad_load_env.vec4
  • doodad_load_env.params
  • doodad_load_env.Params
  • params
  • Params
  • entity
  • Entity
  • Exception when running entity load script.

SetBaseDoodadData

public System.Void SetBaseDoodadData(CandideCreator.Shared.Models.BaseDoodad baseDoodad, Shared.Entity.EntitySystem data)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash9C479AF8880D47783F0EC8385C716FCA1A47D4C8E4E9E4D43A5B9F70473A0F11
  • Body hashB19F00EB94D54CC7A05BFBC3727363815B36E77414AA042463F1B37937BBC8B7
  • IL size18
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem>::set_Item(!0, !1)

SpawnDoodad

public Shared.Entity.EntityWrapper SpawnDoodad(System.Guid guid, Shared.Entity.EntitySystem targetSystem, System.Boolean initializeAi, System.Boolean ignoreControllers)

Method metadata
  • Visibilitypublic
  • Return typeShared.Entity.EntityWrapper
  • StaticTrue
  • VirtualFalse
  • HashFD68D4A843AC67BF129D64AD1E508AD7281BF6931995E2590B050C2123E7FA7A
  • Body hash712C4631AAA77494754B04E27C6CFC725571A29D2942D8912812DF1CFC6B5F18
  • IL size74
Referenced calls
Called by
String literals
  • Failed to spawn doodad because doodad data could not be found.
  • Failed to spawn doodad because target entity system is full.

TryGetEntityBaseData

public System.Boolean TryGetEntityBaseData(System.Guid baseId, out Shared.Entity.EntityWrapper& entityWrapper)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash77F447BF0CD41FBE7E2C3C7A22FA5F5F9EDCBD2B1A6ED07BC881EE9D62B9D3FE
  • Body hashF89AA2D1424956149456D63170E9D8E4D5A9E6F9C20DB009A077344E9E2B2690
  • IL size41
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem>::TryGetValue(!0, !1&)
Called by