Difference between revisions of "Osiris/API/ItemGetRuneItemTemplate"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented ItemGetRuneItemTemplate)
 
m
Line 8: Line 8:
 
===== Notes =====
 
===== Notes =====
 
* See [[Osiris/API/GetSurfaceSize]] for valid values for '''_SurfaceLayer'''.
 
* See [[Osiris/API/GetSurfaceSize]] for valid values for '''_SurfaceLayer'''.
 +
* This query is new in DOS2 Patch 6.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/ItemInsertRune|ItemInsertRune]]
 
* [[Osiris/API/ItemInsertRune|ItemInsertRune]]

Revision as of 21:57, 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
See Also