General Structures: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 9: Line 9:
  Macro1 + 0x20 = MacroName // Name Given by User
  Macro1 + 0x20 = MacroName // Name Given by User
  Macro1 + 0x60 = MacroIcon // Filepath for the icon used in this macro
  Macro1 + 0x60 = MacroIcon // Filepath for the icon used in this macro
  Macro1 + 0x160 = MacroBody (Seperated by 0x0A / byte(10) // The macro itself  
  Macro1 + 0x160 = MacroBody (Seperated by 0x0A / byte(10) // The macro itself


==ActionBar Structure==
==ActionBar Structure==
(the action bars are located in a array with 0 termination)
  '''Offset Type Description Aditional Details'''
  '''Offset Type Description Aditional Details'''
  0x0 BYTE(2) ID (Spell ID, MacroID or ItemID)
  0x0 BYTE(2) ID (Spell ID, MacroID or ItemID)
Line 21: Line 24:
  65 = Toon Specific Macro
  65 = Toon Specific Macro
  128 = Item
  128 = Item
[[Category:Client]]

Latest revision as of 12:56, 20 May 2014

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

(the action bars are located in a array with 0 termination)

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

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