CandideServer.Entities.ServerEntityDataManager
Type JSONpublic class in CandideServer.Entities
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities - Base type
System.Object - Hash
75977C3C179D120DAF16896C5F73E1F55EA49D29C29452BC7AE15CFBD2981F9B
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
AiFieldString# | private | private System.String AiFieldString |
ControllerFieldString# | private | private System.String ControllerFieldString |
Databases# | public | public System.Collections.Generic.Dictionary<System.String, CandideCreator.Shared.Models.DoodadDatabase> Databases |
EntitySystems# | public | public System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem> EntitySystems |
Methods
ApplyCustomPropertiesAndScript
#
public System.Void ApplyCustomPropertiesAndScript(CandideCreator.Shared.Models.WorldDoodad doodad, Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
AF96CBB556F04B792E59111E324B76B7B2D7537FF21071A31D537B2DEAF08401 - Body hash
F5698AAA923E1B80FA0A5A8FD730077C0586D1B06925047615474ADA1247E4B4 - IL size75
Referenced calls
Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Controller()CandideCreator.Shared.Helpers.Parameters::AddOrOverwrite(CandideCreator.Shared.Helpers.IParameters)CandideServer.Entities.ServerEntityDataManager::RunEntityLoadScript(CandideCreator.Shared.Models.WorldDoodad, Shared.Entity.EntityWrapper, CandideCreator.Shared.Helpers.Parameters)Shared.Entity.Base.AbstractController::EntityInitialize()
ConfigureReflection
#
public System.Void ConfigureReflection(CandideCreator.Shared.Serialization.CandideReflection reflection)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
097613D021160A5BF5A81FD53D59B25F278F2C6BA2AE7553ADB7501782F6F666 - Body hash
46C4CB7962C3ABE8593C7044FF56B0512CFD82D408EAD065EA3E5D10CE7B08EA - IL size130
Referenced calls
CandideServer.Entities.Serialization.ServerEntityWrapperSerializer::.ctor()CandideCreator.Shared.Serialization.CandideReflection::Register(CandideCreator.Shared.Serialization.ITypeSerializer)CandideServer.Entities.Serialization.ServerControllerTypeHandler::.ctor(System.Int32)CandideCreator.Shared.Serialization.CandideReflection::Register(CandideCreator.Shared.Serialization.ITypeHandler)CandideCreator.Shared.Serialization.CandideReflection::Configure()CandideCreator.Shared.Serialization.TypeHandlers.GenericTypeHandler::SetExtraDataType()ServerEntityDataManager.<>c::<ConfigureReflection>b__4_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>)ServerEntityDataManager.<>c::<ConfigureReflection>b__4_1(CandideCreator.Shared.Serialization.CandideDeserializer, CandideCreator.Shared.Models.World)System.Action<CandideCreator.Shared.Serialization.CandideDeserializer, CandideCreator.Shared.Models.World>::.ctor(System.Object, System.IntPtr)
LoadDoodadDatabase
#
public System.Void LoadDoodadDatabase(System.String directoryPath, System.String fileName)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
CD61FE8011592105EA51F8CCEDD0475F150EC5BE62DC941B5FD5D7CDE19F093D - Body hash
6D2B005F9C387330B98A3A74A4D4F0FE0FBCFF6526D63E2528CEFBBF76E985F6 - IL size146
Referenced calls
System.Collections.Generic.Dictionary<System.String, CandideCreator.Shared.Models.DoodadDatabase>::ContainsKey(!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Storage.DoodadDatabaseReader::ReadDatabase(System.String, Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Content.ContentManager, CandideCreator.Shared.Serialization.CandideReflection)System.String::Concat(System.String, System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Collections.Generic.Dictionary<System.String, CandideCreator.Shared.Models.DoodadDatabase>::set_Item(!0, !1)
String literals
/.cdbFailed to load doodad database
RunEntityLoadScript
#
public System.Void RunEntityLoadScript(CandideCreator.Shared.Models.WorldDoodad doodad, Shared.Entity.EntityWrapper entity, CandideCreator.Shared.Helpers.Parameters parameters)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
08EDC8FE047CA3EDD06EBF2BDC82AA2A5A929180D568497FC420D7DB05E05082 - Body hash
70D06E2A6D447576C1A554DEEF108D3C95430A3B66978B576DAAE43534C23213 - IL size8
SetBaseDoodadData
#
public System.Void SetBaseDoodadData(CandideCreator.Shared.Models.BaseDoodad baseDoodad, Shared.Entity.EntitySystem data)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
87E696D8EB426AA84D4EF42E86714E49E6A1177F0F4C48A8879BE5B4FFB9359C - Body hash
3FA18CD4A04F913BFD95B9432309D59E1C0795E316259E109F12D87FC30DF625 - 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 initializeControllers, System.Boolean ignoreControllers)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.EntityWrapper - StaticTrue
- VirtualFalse
- Hash
CD084F3BEB0CAC325C304A7CAE99149B20C72D68596EC7A74C545A6F90C91EB5 - Body hash
AAAA8CDF5ABF6737A59DE198794E194D9FFBB290B873EEC24CF336E3E0637C92 - IL size118
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem>::TryGetValue(!0, !1&)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.ServerWarningHelper::Warning(System.String)Shared.Entity.EntitySystem::NewEntity()Shared.Entity.EntityCopyHelper::DeepCopyEntity(Shared.Entity.EntitySystem, System.Int32, Shared.Entity.EntitySystem, System.Int32, System.Boolean, System.Boolean, CandideCreator.Shared.Serialization.CandideReflection)Shared.Entity.EntitySystem::GetWrapper(System.Int32)
Called by
String literals
Failed to spawn doodadbecause 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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
03B59A3271516E1F228C7ACF185F9FF7AD4726261C5859A56BFEB8C3707D7627 - Body hash
AC9677AFF635D73C264885D94ADE35F94E2C360FFC89F8EB717E8878C0959861 - IL size41
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem>::TryGetValue(!0, !1&)
Called by
CandideServer.Entities.ControllerSets.Talos.ServerTalosArenaController::GetRandomSpawnOffsetCandideServer.ServerControllers.DungeonServerController::CheckKilledEntitiesInDungeonCandideServer.ServerControllers.EntitySController::OnServerGameStateLoadedCandideServer.ServerControllers.EntitySController::SpawnEntityCandideServer.ServerManagers.AuraServerManager::TryApplyAuraToEntityCandideServer.ServerSystems.EntitySpawnServerSystem::IsCollidingAtPositionCandideServer.World.ServerWorldDataManager::SpawnWorldEntities