66 if (
m_player.GetActionManager().GetRunningAction())
86 item1.GetInventory().GetCurrentInventoryLocation(
il1);
87 item2.GetInventory().GetCurrentInventoryLocation(
il2);
89 Error(
"Crafting manager - both of items are out of hands - item1: " +
il1.DumpToString() +
" item2: " +
il2.DumpToString() +
" / item in hands: - " +
item_in_hands);
static ActionVariantManager GetVariantManager(typename actionName)
ScriptInvoker GetOnUpdateInvoker()
void SetActionVariantCount(int count)
Client only - manage set up crafting on client.
ref array< int > m_recipes
void CraftingManager(PlayerBase player, PluginRecipesManager recipesManager)
bool SetInventoryCraft(int recipeID, ItemBase item1, ItemBase item2)
void OnUpdate(Object item, Object target, int component_index)
void ResetInventoryCraft()
const int CM_MODE_INVENTORY
bool IsEnableDebugCrafting()
PluginRecipesManager m_recipesManager
int GetRecipeID(int action_index)
void SetRecipeID(int recipeID)
ActionVariantManager m_actionVariantManager
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
proto native void Clear()
remove all calls from list
proto bool Insert(func fn, int flags=EScriptInvokerInsertFlags.IMMEDIATE)
insert method to list
void Error(string err)
Messagebox with error message.