Difference between revisions of "Osiris/API/RequestProcessed"

From Divinity Engine Wiki
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
* call '''RequestProcessed'''(''(CHARACTERGUID)'''''_Character''', ''(INTEGER)'''''_RequestID''', ''(INTEGER)'''''_Result''')
 
* call '''RequestProcessed'''(''(CHARACTERGUID)'''''_Character''', ''(INTEGER)'''''_RequestID''', ''(INTEGER)'''''_Result''')
 
===== Description =====
 
===== Description =====
Response to [[Osiris/API/CanUseItem|CanUseItem]], [[Osiris/API/CanMoveItem|CanMoveItem]], [[Osiris/API/CanPickupItem|CanPickupItem]], [[Osiris/API/CanLockpickItem|CanLockpickItem]] or [[Osiris/API/CanCombineItem|CanCombineItem]].  '''_RequestID''' is the identifier of the request, supplied by the relevant event. If '''_Result''' is 0, the action attempt is blocked. Otherwise, the action pass and continues.
+
Response to [[Osiris/API/CanUseItem|CanUseItem]], [[Osiris/API/CanMoveItem|CanMoveItem]], [[Osiris/API/CanPickupItem|CanPickupItem]], [[Osiris/API/CanLockpickItem|CanLockpickItem]] or [[Osiris/API/CanCombineItem|CanCombineItem]].  '''_Character''' is the character and '''_RequestID''' is the identifier of the request, supplied by the relevant event. If '''_Result''' is 0, the action attempt is blocked. Otherwise, the action passes and continues.
 
===== Notes =====
 
===== Notes =====
 
* The above requests time out and continue after 1 second if Osiris does not reply.
 
* The above requests time out and continue after 1 second if Osiris does not reply.
Line 8: Line 8:
 
*[[Osiris/Shared/ProcBlockUseOfItem|ProcBlockUseOfItem]]  
 
*[[Osiris/Shared/ProcBlockUseOfItem|ProcBlockUseOfItem]]  
  
[[Category:Osiris Calls]]
+
[[Category:Osiris Calls|RequestProcessed]]

Latest revision as of 10:25, 28 January 2018

Full Definition(s)
  • call RequestProcessed((CHARACTERGUID)_Character, (INTEGER)_RequestID, (INTEGER)_Result)
Description

Response to CanUseItem, CanMoveItem, CanPickupItem, CanLockpickItem or CanCombineItem. _Character is the character and _RequestID is the identifier of the request, supplied by the relevant event. If _Result is 0, the action attempt is blocked. Otherwise, the action passes and continues.

Notes
  • The above requests time out and continue after 1 second if Osiris does not reply.
See Also