Candide.GameModels.Managers.ItemRecipeManager
Type JSONpublic class in Candide.GameModels.Managers
Type metadata
- Assembly
Romestead - Namespace
Candide.GameModels.Managers - Base type
System.Object - Hash
24AACEB62568258C49EE910274A1A76FB040FE5FFED433DEEF219EB81E1D35CA
Relationships
Base type
System.Object
Methods
CanCraftItem
#
public System.Boolean CanCraftItem(Candide.GameModels.Models.Items.SimpleInventory inventory, Shared.Data.ItemRecipe recipe)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
039A7A9CDA6F387A3565316D96FFB70E49909C89DCBEFCFB7EEC59DC26A3373A - Body hash
33A9C107A23242ACD3E946520E281DD221F33454F72EEFF46AAAB7E9F1092BEB - IL size13
Referenced calls
CanCraftItem
#
public System.Boolean CanCraftItem(Candide.GameModels.Models.Items.SimpleInventory inventory, Shared.Models.Items.ItemAmount[] itemAmounts)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
4051E9449ABB2B103B32A8BD5D5C6B6CFB1954F25C51128558905FD7C32E3973 - Body hash
872AD7D7C8C6D457A0598060E03E4993FD0FAEFF805775D3F55E64D0FFF62806 - IL size8
Referenced calls
Called by
Candide.GameModels.Managers.ItemRecipeManager::CanCraftItemCandide.GameModels.Managers.ItemRecipeManager::CanCraftManyItemCandide.GameModels.Managers.ItemRecipeManager::TryCraftItemCandide.GameModels.Managers.ItemRecipeManager::TryCraftItemAndDropCandide.GameModels.Managers.ItemRecipeManager::TryCraftItemAndEquip
CanCraftManyItem
#
public System.Boolean CanCraftManyItem(Candide.GameModels.Models.Items.SimpleInventory inventory, Shared.Data.ItemRecipe recipe, System.Int32 craftAmounts)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
0EBFB951217445557A6D19CEFA165A9F7708716B9575B1BCC09B7F76E29115CB - Body hash
DA0FD2392BF5E5A3EDB15D72B50C7F019219431BEB335AC2B05578DA5F23072E - IL size75
Referenced calls
System.ArgumentException::.ctor(System.String)System.Array::Clone()Candide.GameModels.Managers.ItemRecipeManager::CanCraftItem(Candide.GameModels.Models.Items.SimpleInventory, Shared.Models.Items.ItemAmount[])
Called by
String literals
craftAmounts can't be less than 1
GetAllAltarQuestsRecipes
#
private System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe> GetAllAltarQuestsRecipes()
Method metadata
- Visibilityprivate
- Return type
System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe> - StaticTrue
- VirtualFalse
- Hash
2CE75A17DB632FD9AFEA76BF6BDA2C2B9EB38776F56E3F2C88755F8515A2CCAA - Body hash
2D77E0E8B62B48CD0F1D0ABCACDE0E637A14D74D07A9F4FA636CF360C09F566E - IL size8
Referenced calls
ItemRecipeManager.<GetAllAltarQuestsRecipes>d__9::.ctor(System.Int32)
GetAllFavourRecipes
#
private System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe> GetAllFavourRecipes()
Method metadata
- Visibilityprivate
- Return type
System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe> - StaticTrue
- VirtualFalse
- Hash
D37169946EEFE171C14AD2E5EA4A65691BB213BA977C1DC9B7E2C9FDCC263548 - Body hash
9C89BE177397DDCFF15FB54BA50B69E4AFB42E3045B3B7F6CB783DF30BDCA516 - IL size8
Referenced calls
ItemRecipeManager.<GetAllFavourRecipes>d__7::.ctor(System.Int32)
GetAllPersonalQuestsRecipes
#
private System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe> GetAllPersonalQuestsRecipes()
Method metadata
- Visibilityprivate
- Return type
System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe> - StaticTrue
- VirtualFalse
- Hash
3E7D2732A52913A91C1F1C7F58D6E3F1F4C89ECAF21C461E8BD9E42EF66DD20E - Body hash
22D0727F3ACCC3607B7B93D5CA9678A89E7B00DAF96C1A7274DE9D1A2DAA2136 - IL size8
Referenced calls
ItemRecipeManager.<GetAllPersonalQuestsRecipes>d__8::.ctor(System.Int32)
GetLocalPlayerRecipes
#
public System.Collections.Generic.IEnumerable<System.Collections.Generic.List<Shared.Data.ItemRecipe>> GetLocalPlayerRecipes()
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.IEnumerable<System.Collections.Generic.List<Shared.Data.ItemRecipe>> - StaticTrue
- VirtualFalse
- Hash
1BAA6246C25B111DD7AACDA5D0AEF72BD4A3E7C6B0CF9CA8DFBE600ECF28D3BC - Body hash
30E92F64CFBC423AAB92A2943742C1C71FC54C5ED8974E5DE2F58FC541134F06 - IL size347
Referenced calls
System.Collections.Generic.List<Shared.Data.ItemRecipe>::.ctor()System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Data.ItemRecipe>>::.ctor()System.Collections.Generic.List<Shared.Data.ItemRecipe>::GetEnumerator()List.Enumerator<Shared.Data.ItemRecipe>::get_Current()System.String::IsNullOrWhiteSpace(System.String)System.Collections.Generic.List<Shared.Data.ItemRecipe>::Add(!0)System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Data.ItemRecipe>>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Data.ItemRecipe>>::set_Item(!0, !1)List.Enumerator<Shared.Data.ItemRecipe>::MoveNext()System.IDisposable::Dispose()Candide.GameModels.Managers.ItemRecipeManager::GetAllFavourRecipes()System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe>::GetEnumerator()System.Collections.Generic.IEnumerator<Shared.Data.ItemRecipe>::get_Current()System.Collections.IEnumerator::MoveNext()System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Data.ItemRecipe>>::get_Count()System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Data.ItemRecipe>>::get_Values()Dictionary.ValueCollection<System.String, System.Collections.Generic.List<Shared.Data.ItemRecipe>>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.String, System.Collections.Generic.List<Shared.Data.ItemRecipe>>::get_Current()Dictionary.ValueCollection.Enumerator<System.String, System.Collections.Generic.List<Shared.Data.ItemRecipe>>::MoveNext()
GetLocalPlayerRecipesForStation
#
public System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe> GetLocalPlayerRecipesForStation(System.String[] stationIds)
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.IEnumerable<Shared.Data.ItemRecipe> - StaticTrue
- VirtualFalse
- Hash
DA15A612BAFB5DAB48A54120B82CDF23A4FFAA73724970BA2367B425D00E3262 - Body hash
DC97DB0BFD04D5DEBF9A9F80FADE19634574DCC1BBF20240FE3D44BCCD38B507 - IL size15
Referenced calls
ItemRecipeManager.<GetLocalPlayerRecipesForStation>d__6::.ctor(System.Int32)
TryCraftItem
#
public System.Boolean TryCraftItem(Candide.GameModels.Models.Items.SimpleInventory inventory, Shared.Data.ItemRecipe recipe, System.Nullable<System.Int32> slotIndex, System.Int32 craftAmounts)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
E841CEF87FB2356FFF0BFF63A20FD0612C1F8DC2199CBA007B81CF2B39BA0537 - Body hash
38BC7C625A836766752D3BDEA7D49F0881BC0AC870305AB497CF58618EA4E278 - IL size198
Referenced calls
System.ArgumentException::.ctor(System.String)System.Array::Clone()Candide.GameModels.Managers.ItemRecipeManager::CanCraftItem(Candide.GameModels.Models.Items.SimpleInventory, Shared.Models.Items.ItemAmount[])Shared.Text.StringDefinitions::GetString(System.String)Candide.CandideUI.PlayerWarningMessage::Add(System.String)Shared.Data.ItemDataBase::GetItemDataOrMissing(System.String)Shared.Inventory.DeltaModels.InventoryHelper::CanAddItemAmount(Shared.Models.Items.SharedInventoryModel, Shared.Models.Items.ItemData, System.Int32)CandideServer.MessageModels.PlayerCharacters.CraftItemMessage::.ctor()Candide.Multiplayer.Models.LocalPlayer::get_EntityId()Candide.GameModels.Services.PlayerCharactersService::SendCraftItem(CandideServer.MessageModels.PlayerCharacters.CraftItemMessage)
Called by
String literals
craftAmounts can't be less than 1Gui_Warning_NotEnoughMaterialsGui_Warning_InventoryInsufficientRoom
TryCraftItemAndDrop
#
public System.Boolean TryCraftItemAndDrop(Candide.GameModels.Models.Items.SimpleInventory inventory, Shared.Data.ItemRecipe recipe, System.Single direction, System.Int32 craftAmounts)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
6618931C12CC9BC3C7AAE727E4B4C648CA20F8C759E85F86A12BA23EB6D91E60 - Body hash
DDE2981E1A02BB2670A286EF4FF794867F1B24BF1DDE9746990957D4C8BE5428 - IL size164
Referenced calls
System.ArgumentException::.ctor(System.String)System.Array::Clone()Candide.GameModels.Managers.ItemRecipeManager::CanCraftItem(Candide.GameModels.Models.Items.SimpleInventory, Shared.Models.Items.ItemAmount[])Shared.Text.StringDefinitions::GetString(System.String)Candide.CandideUI.PlayerWarningMessage::Add(System.String)CandideServer.MessageModels.PlayerCharacters.CraftItemMessage::.ctor()Candide.Multiplayer.Models.LocalPlayer::get_EntityId()System.Nullable<System.Single>::.ctor(!0)Candide.GameModels.Services.PlayerCharactersService::SendCraftItem(CandideServer.MessageModels.PlayerCharacters.CraftItemMessage)
String literals
craftAmounts can't be less than 1Gui_Warning_NotEnoughMaterials
TryCraftItemAndEquip
#
public System.Boolean TryCraftItemAndEquip(Candide.GameModels.Models.Items.SimpleInventory equipmentInventory, Candide.GameModels.Models.Items.SimpleInventory inventory, Shared.Data.ItemRecipe recipe, System.Int32 slotIndex, System.Int32 craftAmounts)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
4A95C304EFAF89DFD772C854D089D095B91A24A7CA26B56BD8A9EBFC7DA52150 - Body hash
3BF0EE72AA12DFD2FBFFEDC145D74CBAB52333FCDE46F009C29A71D9F9E3DF2F - IL size472
Referenced calls
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)System.ArgumentException::.ctor(System.String)System.Array::Clone()Candide.GameModels.Managers.ItemRecipeManager::CanCraftItem(Candide.GameModels.Models.Items.SimpleInventory, Shared.Models.Items.ItemAmount[])Shared.Text.StringDefinitions::GetString(System.String)Candide.CandideUI.PlayerWarningMessage::Add(System.String)Shared.Data.ItemDataBase::GetItemDataOrMissing(System.String)System.Enum::HasFlag(System.Enum)System.Collections.Generic.HashSet<System.Int32>::GetEnumerator()HashSet.Enumerator<System.Int32>::get_Current()HashSet.Enumerator<System.Int32>::MoveNext()System.IDisposable::Dispose()CandideServer.MessageModels.PlayerCharacters.CraftItemAndEquipMessage::.ctor()Candide.Multiplayer.Models.LocalPlayer::get_EntityId()Candide.GameModels.Services.PlayerCharactersService::SendCraftItemAndEquip(CandideServer.MessageModels.PlayerCharacters.CraftItemAndEquipMessage)Candide.Toolkit.SamuelDevelopmentException::.ctor(System.String)
Called by
String literals
Illegal slot index for equipment inventorycraftAmounts can't be less than 1Gui_Warning_NotEnoughMaterialsCurrently, the only equipment which can have as stack size above 1 should be ammunition. We haven't made code to handle