CandideServer.Entities.ControllerSets.Chest.ServerChestController
Type JSONpublic class in CandideServer.Entities.ControllerSets.Chest
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.ControllerSets.Chest - Base type
CandideServer.Entities.Controllers.ServerFurnitureController - Hash
33D72F2F838B5B0DDAA478E0216D235A41A119D98ECE1158E4850A1453F42712
Relationships
Base type
CandideServer.Entities.Controllers.ServerFurnitureController
Derived types
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
BackupNameId# | public | public System.String BackupNameId |
InventoryId# | public | public System.Guid InventoryId |
Methods
CheckUpdateChestNameParameter
#
private System.Void CheckUpdateChestNameParameter()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
25E50AAE639F9253511311ADB2E1F8AE12CE306ADBD50E36C4EA6FC568BC3F7A - Body hash
2FAAA966DB86D5B220609F3073478C966A63D048A4457783EEEE2114808DB7B1 - IL size81
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Items.SharedInventoryModel>::TryGetValue(!0, !1&)CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)System.String::op_Equality(System.String, System.String)CandideServer.Entities.ServerEntitySystemManager::UpdateEntityParameter(Shared.Entity.EntityWrapper, System.String, System.String, CandideServer.SyncStrategies.SyncStrategy, System.Boolean)
Called by
String literals
name
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E66D882FE57163692671430E397366787CC8D06DAC4B6DA6363947A79F3C599D - Body hash
7E460001493BA23799254376A0EE20802E3AFC93A98B5F58429DC732951EC69B - IL size222
Referenced calls
CandideServer.Entities.Controllers.ServerFurnitureController::EntityInitialize()CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)System.Guid::op_Equality(System.Guid, System.Guid)System.Guid::NewGuid()System.Object::ToString()CandideCreator.Shared.Helpers.Parameters::Set(System.String, System.String)System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Items.SharedInventoryModel>::TryGetValue(!0, !1&)CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)System.String::op_Inequality(System.String, System.String)Shared.Entity.EntityWrapper::get_MaxHealth()Shared.Entity.EntityWrapper::set_Health(System.Single)
String literals
inventory_idname
FillInventoryWithDrops
#
private System.Void FillInventoryWithDrops(System.String dropTableId, CandideServer.Models.Dungeons.DungeonLocationModel locationModel, System.Boolean includePreRolledLoot)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
0F4E163EB9706C0C266AD344747D380260152D1BBF975E017EE7CDE49284EC57 - Body hash
76F10C01C70329EB43AD66F71F26D9CB3010E896ABBCD792A3FC967D511385FF - IL size218
Referenced calls
System.String::IsNullOrWhiteSpace(System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)CandideServer.Database.ServerDropTablesDataBase::GetDropTableItemListOrNull(System.String)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)System.Collections.Generic.List<System.ValueTuple<System.String, System.Int32>>::Reverse()CandideServer.ServerManagers.SimpleInventoryServerManager::AddItemsToInventory(System.Collections.Generic.List<System.ValueTuple<System.String, System.Int32>>, System.Guid, System.Boolean, System.Boolean)CandideServer.ServerManagers.DungeonServerManager::ClearPreRolledDrops(CandideServer.Models.Dungeons.DungeonLocationModel)CandideServer.Database.DungeonRoomDataBase::TryGetDungeonRoomData(System.String, CandideServer.Models.Dungeons.DungeonRoomDataModel&)CandideServer.ServerManagers.LootServerManager::GenerateDroppedGoods(Shared.Models.DropTables.DropTableSystem, System.Single)CandideServer.ServerManagers.SimpleInventoryServerManager::TryAddItemsToInventory(System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.Int32, System.String>>, System.Guid, System.Boolean)
String literals
Lootable Chest did not have a droptablelocation-difficulty
GenerateInventory
#
public System.Void GenerateInventory()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DA774DE16B49F8E3797D98880AF8A8C2C787DBAA77D6F4FAA56BDA9BEBBBA210 - Body hash
AC8F85901ADC55A2ED51F5B3A69CCF01BC18BD5F65CEA9D35CB311B48B41A6FA - IL size223
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Items.SharedInventoryModel>::ContainsKey(!0)Shared.Messages.CreateNewInventoryMessage::.ctor()CandideCreator.Shared.Helpers.Parameters::GetString(System.String, System.String)Shared.Text.StringId::op_Implicit(System.String)CandideServer.ServerControllers.SimpleInventorySController::CreateNewInventory(Shared.Messages.CreateNewInventoryMessage, System.Boolean)CandideServer.Entities.ControllerSets.Chest.ServerChestController::CheckUpdateChestNameParameter()CandideServer.ServerManagers.DungeonServerManager::CheckDungeonClear(System.Guid)CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)Shared.Entity.EntityWrapper::get_Position2()CandideServer.Entities.ControllerSets.Chest.ServerChestController::GetDropTableIdFromParameters(CandideCreator.Shared.Helpers.Parameters, ServerChestController.LootableChestType, System.Guid, Microsoft.Xna.Framework.Vector2)CandideServer.Entities.ControllerSets.Chest.ServerChestController::FillInventoryWithDrops(System.String, CandideServer.Models.Dungeons.DungeonLocationModel, System.Boolean)
Called by
String literals
inventory_nameObject_AbandonedChestloot
GetDropTableIdFromParameters
#
public System.ValueTuple<System.String, System.Boolean, CandideServer.Models.Dungeons.DungeonLocationModel> GetDropTableIdFromParameters(CandideCreator.Shared.Helpers.Parameters parameters, ServerChestController.LootableChestType type, System.Guid worldId, Microsoft.Xna.Framework.Vector2 position)
Method metadata
- Visibilitypublic
- Return type
System.ValueTuple<System.String, System.Boolean, CandideServer.Models.Dungeons.DungeonLocationModel> - StaticTrue
- VirtualFalse
- Hash
AC25D2830A6594F24CB0BE55555E5D3612ED6AA954E0E1AA859EE839FC791FE3 - Body hash
78598EDB411CCD86539F8710398036BD57064ED8EE5BB447906CD3E4C8D725EC - IL size529
Referenced calls
CandideCreator.Shared.Helpers.Parameters::get_Dictionary()System.Collections.Generic.Dictionary<System.String, System.String>::TryGetValue(!0, !1&)CandideServer.Database.PoiDataBase::TryGetPoiData(System.String, CandideServer.Models.PoiData&)CandideServer.ServerManagers.DungeonServerManager::GetDungeonLocationFromWorldId(System.Guid)CandideCreator.Shared.Helpers.Parameters::GetGuidOrNull(System.String, System.Nullable<System.Guid>)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Dungeons.DungeonLocationModel>::TryGetValue(!0, !1&)System.Guid::op_Equality(System.Guid, System.Guid)CandideServer.Helpers.ServerBiomeCategoryHelper::GetBiomeCategoryServerOrNull(Microsoft.Xna.Framework.Vector2, System.Guid)System.String::op_Equality(System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.ValueTuple<System.String, System.Boolean, CandideServer.Models.Dungeons.DungeonLocationModel>::.ctor(!0, !1, !2)
Called by
String literals
drop-table-idpoiDataIdlocationIdplainsforestdesertvolcanicghost_landplains:suppliesforest:suppliesdesert:suppliesvolcanic:suppliesghost_town:suppliesLootable chest did not have a droptable set and was not in a known biome!Lootable chest did not have a droptable set and was not in a dungeon!
IsMajorChest
#
public System.Boolean IsMajorChest(CandideServer.World.ServerEntitySpawnData spawnData)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
CD167F69ECFD36C4B3957E24778E5576C14B835833AE8475080809ED4F9B28AD - Body hash
0755F3F9B1647590BDBF511C7ED710CF6309521938F09E6875BCBE841FDCA07C - IL size67
Referenced calls
System.Guid::op_Inequality(System.Guid, System.Guid)System.Collections.Generic.Dictionary<System.String, System.String>::TryGetValue(!0, !1&)System.String::Equals(System.String, System.StringComparison)
String literals
lootMajor
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9128A9E93272D29565F998DA60603AFC239CA9C79318729F9FE5EB5202063C02 - Body hash
FAB146ED80794BC94653BB987B88B5274DEFB7F6AE44464B56A7302AD525BD0B - IL size70
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
568FD0FB0FB7159DD8454611E8434D811302D64CEE7A095C2CB2FAFCB1EC6F23 - Body hash
46CA6EB8BB3083626047F4204EB9C6DADD340CCF0FB7716289B0C7CD06CC5827 - IL size7
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
A05E93F1DB6CAEC18C170BA98474FA47DC846522471F316C7AEE60558005683F - Body hash
359FD07FF97F81DCFCA574E0E24B1B6CED4B78C5231A31A3EEFE0D514F194308 - IL size241
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)System.Nullable<System.Guid>::.ctor(!0)CandideServer.Entities.ControllerSets.Chest.ServerChestController::GenerateInventory()CandideServer.ServerManagers.DungeonServerManager::GetDungeonRoomFromWorldId(System.Guid)System.Collections.Generic.Dictionary<System.Int32, System.Guid>::GetEnumerator()Dictionary.Enumerator<System.Int32, System.Guid>::get_Current()System.Collections.Generic.KeyValuePair<System.Int32, System.Guid>::Deconstruct(!0&, !1&)System.Guid::op_Inequality(System.Guid, System.Guid)System.Collections.Generic.Dictionary<System.Int32, System.Guid>::set_Item(!0, !1)Dictionary.Enumerator<System.Int32, System.Guid>::MoveNext()System.IDisposable::Dispose()Shared.Entity.EntityWrapper::get_WorldId()CandideServer.ServerManagers.DungeonServerManager::GetDungeonLocationFromWorldId(System.Guid)CandideServer.ServerManagers.DungeonServerManager::CheckIfDungeonQuestItemHasBeenTaken(CandideServer.Models.Dungeons.DungeonLocationModel)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
679431457873BB2E25931F7B780BBA42F18E24DB79FFDC4D94612067B0E9B7BA - Body hash
494EBF99EFDA578F70A56E434A15282E701B01FA6F24C30A5AE8FC5857FE6555 - IL size245
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, System.Collections.Generic.HashSet<CandideServer.Server.Network.ConnectedPeer>>::TryGetValue(!0, !1&)System.Collections.Generic.HashSet<CandideServer.Server.Network.ConnectedPeer>::get_Count()CandideServer.Entities.ControllerSets.Chest.ServerChestController::CheckUpdateChestNameParameter()System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Items.SharedInventoryModel>::TryGetValue(!0, !1&)Shared.Models.Items.SharedInventoryModel::IsEmpty()Shared.Entity.EntityWrapper::get_WorldId()CandideServer.ServerManagers.DungeonServerManager::GetDungeonLocationFromWorldId(System.Guid)CandideServer.ServerManagers.DungeonServerManager::CheckIfDungeonQuestItemHasBeenTaken(CandideServer.Models.Dungeons.DungeonLocationModel)