Difference between revisions of "GetBaseItemType"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (tidy) |
m (→Remarks: adding link) |
||
(2 intermediate revisions by 2 users not shown) | |||
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= | + | |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_*]] constant | |
− | + | == 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 24: | 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
- 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.