ObjectSkinningType
Returns the skinning type of a WowGameObject
.
ObjectSkinningType(--[[(1)]]objectReference) : number | false
- See Object Reference for more information on possible values.
Example
Check if the target is a can be skinned for herbs. ``` lua -- [[
enum SkinType : int { HERBALISM = 0x100, MINING = 0x200, ENGINEERING = 0x8000 };
]]local skintype = ObjectSkinningType('target')if skintype == HERBALISM then print("OMG A HERB")end```