Guest User

Untitled

a guest
Oct 21st, 2012
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 0xCC8570 - ptr to GroupInfo - Instance Group
  2. 0xCC856C - ptr GroupInfo - Home Group
  3.  
  4. struct GroupInfo
  5. {
  6. public GroupMemberInfo* [40] RaidMembers; // leader is always at the top
  7. public GroupMemberInfo* [4] PartyMembers;
  8. public GroupMemberInfo* Player;
  9.  
  10. public uint unknownInt_B4;
  11. public uint* unknownPtr_B8;
  12. public uint* unknownInt_BC; // ref 0x5D74C0 WoW 5.0.5
  13.  
  14. public uint unknownInt_C0;
  15. public uint GroupSize;
  16. public uint PartySize; // doesn't include player.
  17. public uint unknownInt_CC;
  18.  
  19. public ulong GroupLeaderGuid;
  20. public GroupFlags Flags;
  21. public uint DungeonDifficultyID;
  22.  
  23. public uint RaidDifficultyID;
  24. public uint unknownInt_E4;
  25. public uint LfgDungeonId;
  26. public uint unknownInt_EC;
  27.  
  28. public uint unknownInt_F0; // this is set to 1 in the 'Home' group if there is an instance active
  29. public uint unknownInt_F4;
  30. public uint unknownInt_F8;
  31. public uint unknownInt_FC;
  32.  
  33. public uint unknownInt_100;
  34. public uint unknownInt_104;
  35. public uint unknownInt_108;
  36. public uint unknownInt_10C;
  37.  
  38. public uint unknownInt_110; // 0x110
  39. public uint BuffMask; // 0x114
  40. public uint BuffCount; // 0x118
  41. public RaidTargetInfo* RaidTargets; // I am guessing this also contains buff info.
  42.  
  43. public uint unknownInt_120;
  44. public uint unknownInt_124;
  45. }
  46.  
  47. [Flag]
  48. enum GroupFlags: byte
  49. {
  50. Party = 0,
  51. BattleGrounds = 1,
  52. Raid = 2,
  53. RestrictedLfg, = 4 // ref Script_HasLFGRestrictions
  54. LFGParty, = 8
  55. Unknown1 = 16,
  56. Unknown2 = 32,
  57. EveryoneIsAssist = 64, // ref Script_IsEveryoneAssistant
  58. }
  59.  
  60.  
  61. struct GroupMemberInfo
  62. {
  63. byte unknownByte_0;
  64. uint Flags; // 0 = offline, 1 = online
  65. public GroupRole Roles;
  66. byte unknownByte_3;
  67.  
  68. GroupRank Rank; // 0 if not party leader,
  69.  
  70. // the next 4 bytes are only used in the 'Home' Groupinfo structure when there is an 'Instance' GroupInfo active
  71. // so theres really no reason to use them since you should be using the 'Instance' GroupInfo struct if it's active
  72.  
  73. byte unknownByte_8; // same as unknownByte_0
  74. uint Flags2; // 0 = offline, 1 = online
  75. public GroupRole Roles2;
  76. byte unknownByte_B;
  77.  
  78. public ulong Guid;
  79. GroupInfo* Parent;
  80. int unknownInt_1C;
  81.  
  82. int unknownInt_20;
  83. int unknownInt_24;
  84. int unknownInt_28;
  85. int unknownInt_2C;
  86. }
  87.  
  88. enum GroupRank :byte
  89. {
  90. None,
  91. Assistant,
  92. Leader,
  93. }
  94.  
  95. [Flags]
  96. enum GroupRole
  97. {
  98. None,
  99. Leader,
  100. Tank,
  101. Healer = 4,
  102. Damager = 8
  103. };
  104.  
  105. struct RaidTargetInfo
  106. {
  107. public ulong StarGuid;
  108. public ulong CircleGuid;
  109. public ulong DiamondGuid;
  110. public ulong TriangleGuid;
  111. public ulong MoonGuid;
  112. public ulong SquareGuid;
  113. public ulong CrossGuid;
  114. public ulong SkullGuid;
  115. public uint[40] UnknownData; // no clue what this is for. might be buffs...
  116. GroupInfo* Parent;
  117. }
Advertisement
Add Comment
Please, Sign In to add comment