General Structures: Difference between revisions

From wowdev
Jump to navigation Jump to search
Line 17: Line 17:
   
   
  '''Types:'''
  '''Types:'''
  0 = Spell
  0 = Spell
  64 = General Macro
  64 = General Macro
  65 = Toon Specific Macro
  65 = Toon Specific Macro
  128 = Item
  128 = Item

Revision as of 03:12, 22 April 2009

Here are a few structures you might need if you are going to make a bot or alike. -Malu05


Macro Structure

MacroIndex 		-> Macro1

Macro1 + 0x10 		-> Macro2
Macro1 + 0x20 		= MacroName // Name Given by User
Macro1 + 0x60 		= MacroIcon // Filepath for the icon used in this macro
Macro1 + 0x160 	= MacroBody (Seperated by 0x0A / byte(10) // The macro itself 

ActionBar Structure

Offset	Type	Description		Aditional Details
0x0		BYTE(2)	ID		(Spell ID, MacroID or ItemID)
0x3 		BYTE 	TYPE		(See Types)

Types:
0 = 	Spell
64 =	General Macro
65 =	Toon Specific Macro
128 =	Item