jim87
New Member
- Joined
- Aug 26, 2011
- Messages
- 445
- Reaction score
- 7
Hello!
I've got this snippet of code:
I'd like to know how can I know which kind of node it is (o.SubType returns WoWGameObjectType, but I didn't see nor mine nor herb) and how I can find the actual profession I need to have in order to use it. Also, I found no mentions about professions under ObjectManager.Me, how could I know the actual profession levels?
Thanks.
I've got this snippet of code:
PHP:
WoWObject o = ...;
o.CanLoot // bool, can be used for gathering nodes
o.RequiredSkill // uint? <-- how can I use this? Why does it have the question mark?
I'd like to know how can I know which kind of node it is (o.SubType returns WoWGameObjectType, but I didn't see nor mine nor herb) and how I can find the actual profession I need to have in order to use it. Also, I found no mentions about professions under ObjectManager.Me, how could I know the actual profession levels?
Thanks.