Category:Osiris APIs: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Created page with "=== Osiris APIs === Osiris core APIs come in three categories: * Events are Osiris' way to inform you that something happened, often to a particular object * Queries allow you...")
 
mNo edit summary
Line 4: Line 4:
* Queries allow you to request information about an object or the game state, and occasionally also change the game state and returning the result of the change (e.g. creating a new item)
* Queries allow you to request information about an object or the game state, and occasionally also change the game state and returning the result of the change (e.g. creating a new item)
* Calls instruct Osiris to change an object or the game state. Calls never directly return results in any way.
* Calls instruct Osiris to change an object or the game state. Calls never directly return results in any way.
Additionally, this page also links to a number of useful helper routines and databases from the Shared mod.

Revision as of 10:56, 10 September 2017

Osiris APIs

Osiris core APIs come in three categories:

  • Events are Osiris' way to inform you that something happened, often to a particular object
  • Queries allow you to request information about an object or the game state, and occasionally also change the game state and returning the result of the change (e.g. creating a new item)
  • Calls instruct Osiris to change an object or the game state. Calls never directly return results in any way.

Additionally, this page also links to a number of useful helper routines and databases from the Shared mod.