Difference between revisions of "GetBaseItemType"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating link)
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
|name=GetBaseItemType
+
|name         = GetBaseItemType
|brief=Gets the BaseItemType of an item
+
|brief       = Gets the BaseItemType of an item
|param1type=object
+
|param1type   = object
|param1name=oItem
+
|param1name   = oItem
|param1desc=An Item Object
+
|param1desc   = An Item Object
|returntype=int
+
|returntype   = int
|returndesc= [[BASE_ITEM_TYPE*]] constant
+
|returndesc   = [[BASE_ITEM_TYPE_*]] constant
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|sourcemodule=
+
|sourcemodule =
 
}}
 
}}
  
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
returns the base item type of an item as [[BASE_ITEM_TYPE*]]
+
Returns the base item type of an item as [[BASE_ITEM_TYPE_*]] constant
  
 
== Remarks ==
 
== Remarks ==
Line 26: Line 26:
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
  
[[Category: Items functions]]
+
[[Category:Items functions]]

Revision as of 12:49, 3 August 2011

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_* constant

Remarks

BASE_ITEM_TYPE constants are defined in 2da_constants_h.