Osiris/API/CharacterHasRecipeUnlocked: Difference between revisions
Jump to navigation
Jump to search
(Created page with "===== Full Definition(s) ===== * call '''CharacterHasRecipeUnlocked'''('''[in]'''''(CHARACTERGUID)'''''_character''', '''[in]'''''(STRING)'''''_recipeID''', '''[out]'''''(INTE...") |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
* | * query '''CharacterHasRecipeUnlocked'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[in]'''(STRING)'''''_RecipeID''', '''''[out]'''(INTEGER)'''''_Bool''') | ||
===== Description ===== | ===== Description ===== | ||
Returns whether the party to which character '''_Character''' belongs has the recipe with ID '''_RecipeID''' (as listed under "Name" in ItemCombos of the stats) unlocked. | |||
===== Return Values ===== | |||
* '''Success/Failure''': Fails if '''_character''' does not exist, or if it's not in a [[Osiris/API/AddToParty|party]]. | |||
* '''_bool''': '''1''' if '''_recipe''' is unlocked by '''_character''''s party, '''0''' otherwise. | |||
===== Notes ===== | |||
* / | |||
===== See Also ===== | |||
* [[Osiris/API/HasRecipeUnlockedWithIngredient|HasRecipeUnlockedWithIngredient]] | |||
* [[Osiris/API/UnlockJournalRecipe|UnlockJournalRecipe]] | |||
* [[Use_Action:Recipe]] | |||
[[Category:Osiris Queries|CharacterHasRecipeUnlocked]] | [[Category:Osiris Queries|CharacterHasRecipeUnlocked]] | ||
[[Category:Osiris Queries(Added in DOS2DE)|CharacterHasRecipeUnlocked]] | [[Category:Osiris Queries (Added in DOS2DE)|CharacterHasRecipeUnlocked]] |
Latest revision as of 20:01, 13 September 2018
Full Definition(s)
- query CharacterHasRecipeUnlocked([in](CHARACTERGUID)_Character, [in](STRING)_RecipeID, [out](INTEGER)_Bool)
Description
Returns whether the party to which character _Character belongs has the recipe with ID _RecipeID (as listed under "Name" in ItemCombos of the stats) unlocked.
Return Values
- Success/Failure: Fails if _character does not exist, or if it's not in a party.
- _bool: 1 if _recipe is unlocked by _character's party, 0 otherwise.
Notes
- /