Difference between revisions of "GetBaseItemType"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (tidy)
Line 6: Line 6:
 
|param1desc=An Item Object
 
|param1desc=An Item Object
 
|returntype=int
 
|returntype=int
|returndesc=base item type
+
|returndesc= [[BASE_ITEM_TYPE*]] constant
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=
Line 15: Line 15:
 
returns the base item type of an item as [[BASE_ITEM_TYPE*]]
 
returns the base item type of an item as [[BASE_ITEM_TYPE*]]
  
<!-- == Remarks == -->
+
== Remarks ==
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
 +
 +
BASE_ITEM_TYPE constants are defined in 2da_constants_h.
  
 
<!-- == Examples == -->
 
<!-- == Examples == -->

Revision as of 20:00, 19 February 2010

Gets the BaseItemType of an item

int GetBaseItemType(
object oItem
);
Parameters:
oItem
An Item Object
Returns:

BASE_ITEM_TYPE* constant

Source:

script.ldf

Description

returns the base item type of an item as BASE_ITEM_TYPE*

Remarks

BASE_ITEM_TYPE constants are defined in 2da_constants_h.