Difference between revisions of "Osiris/API/ItemGetRuneItemTemplate"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
Line 7: Line 7:
 
* '''_Template''': The root template of the run inserted in the specified slot of item, in the format '''Name_UUID'''.
 
* '''_Template''': The root template of the run inserted in the specified slot of item, in the format '''Name_UUID'''.
 
===== Notes =====
 
===== Notes =====
* See [[Osiris/API/GetSurfaceSize]] for valid values for '''_SurfaceLayer'''.
 
 
* This query is new in DOS2 Patch 6.
 
* This query is new in DOS2 Patch 6.
 
===== See Also =====
 
===== See Also =====

Latest revision as of 22:13, 22 February 2018

Full Definition(s)
  • query ItemGetRuneItemTemplate([in](ITEMGUID)_Item, [in](INTEGER)_Slot, [out](STRING)_Template)
Description

Returns the root template for the rune in slot _Slot of _Item. _Slot is 0 for the first slot, 1 for the second slot, etc.

Return Values
  • Success/Failure: Fails if _Item is invalid, or if _Slot is >= than the number of slots the item has. Specifying a value < 0 for _Slot will result in undefined behaviour.
  • _Template: The root template of the run inserted in the specified slot of item, in the format Name_UUID.
Notes
  • This query is new in DOS2 Patch 6.
See Also