Difference between revisions of "GetBaseItemType"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Generated by Sunjammer's Dragon Age Script Paser)
 
m (Remarks: adding link)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated with errors}}
 
 
{{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=
+
|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_*
+
Returns the base item type of an item as [[BASE_ITEM_TYPE_*]] constant
  
<!-- == 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 == -->
Line 25: 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]]

Latest revision as of 12:48, 10 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.