View Single Post
07-01-12, 10:29 PM   #1
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
[15799] C_BlackMarket, C_PetBattles, ...

Most people probably already noticed these C_* tables. I'm not really sure if the Blizzard UI devs would want to see them documented at all though, at least not yet while in this form; I was surprised that addons were enabled in the beta beforehand actually

Edit: http://us.battle.net/wow/en/forum/topic/6019723577

The _G[1] thing doesn't look like it's supposed to be there. I noticed it when looking for new tables; it's too much to list the contents of its child tables though

follow-up thread: [5.0.1.15799-5.0.3.15851] API changes
  • C_BlackMarket
  • C_LootHistory
  • C_PetBattles
  • C_PetJournal
  • C_Scenario
  • _G[1]

C_BlackMarket
  1. wowpedia, framexml, Close() -- 2 hits in 1 file
  2. wowpedia, framexml, GetHotItem() -- 1 hit
  3. wowpedia, GetItemInfoByID() -- unused
  4. wowpedia, framexml, GetItemInfoByIndex() -- 1 hit
  5. wowpedia, framexml, GetNumItems() -- 2 hits in 1 file
  6. wowpedia, framexml, ItemPlaceBid() -- 1 hit
  7. wowpedia, framexml, RequestItems() -- 2 hits in 1 file

C_LootHistory
  1. wowpedia, framexml, CanMasterLoot() -- 1 hit
  2. wowpedia, GetExpiration() -- unused
  3. wowpedia, framexml, GetItem() -- 6 hits in 1 file
  4. wowpedia, framexml, GetNumItems() -- 2 hits in 1 file
  5. wowpedia, framexml, GetPlayerInfo() -- 5 hits in 1 file
  6. wowpedia, framexml, GiveMasterLoot() -- 1 hit
  7. wowpedia, SetExpiration() -- unused

C_PetBattles
  1. wowpedia, framexml, AcceptPVPDuel() -- 1 hit
  2. wowpedia, framexml, AcceptPVPMatch() -- 1 hit
  3. wowpedia, framexml, CancelPVPDuel() -- 1 hit
  4. wowpedia, framexml, ChangePet() -- 1 hit, stub
  5. wowpedia, framexml, DeclinePVPMatch() -- 1 hit
  6. wowpedia, framexml, ForfeitGame() -- 1 hit, stub
  7. wowpedia, framexml, GetAbilityEffectInfo() -- 3 hits in 1 file
  8. wowpedia, framexml, GetAbilityInfo() -- 7 hits in 1 file, stub
  9. wowpedia, framexml, GetAbilityInfoByID() -- 8 hits in 3 files
  10. wowpedia, framexml, GetAbilityProcTurnIndex() -- 1 hit
  11. wowpedia, framexml, GetAbilityState() -- 2 hits in 1 file
  12. wowpedia, framexml, GetActivePet() -- 16 hits in 1 file, stub
  13. wowpedia, framexml, GetAttackModifier() -- 4 hits in 2 files, stub
  14. wowpedia, framexml, GetAuraInfo() -- 5 hits in 1 file
  15. wowpedia, framexml, GetBattleState() -- 6 hits in 2 files
  16. wowpedia, framexml, GetBreedQuality() -- 1 hit
  17. wowpedia, framexml, GetDisplayID() -- 1 hit, stub
  18. wowpedia, framexml, GetHealth() -- 7 hits in 2 files, stub
  19. wowpedia, framexml, GetIcon() -- 2 hits in 2 files, stub
  20. wowpedia, framexml, GetLevel() -- 2 hits in 2 file, stub
  21. wowpedia, framexml, GetMaxHealth() -- 5 hits in 1 file, stub
  22. wowpedia, framexml, GetName() -- 3 hits in 2 files, stub
  23. wowpedia, framexml, GetNumAuras() -- 2 hits in 1 file
  24. wowpedia, framexml, GetNumPetTypes() -- 3 hits in 3 files
  25. wowpedia, framexml, GetNumPets() -- 4 hits in 1 file, stub
  26. wowpedia, framexml, GetPetSpeciesID() -- 1 hit
  27. wowpedia, framexml, GetPetType() -- 4 hits in 2 file, stub
  28. wowpedia, framexml, GetPlayerTrapAbility() -- 1 hit
  29. wowpedia, framexml, GetPower() -- 5 hits in 1 file
  30. wowpedia, framexml, GetSelectedAction() -- 4 hits in 2 files, stub
  31. wowpedia, framexml, GetSpeed() -- 9 hits in 1 file
  32. wowpedia, framexml, GetStateValue() -- 3 hits in 1 file
  33. wowpedia, framexml, GetTurnTimeInfo() -- 1 hit, stub
  34. wowpedia, framexml, GetXP() -- 3 hits in 1 file, stub
  35. wowpedia, framexml, IsInBattle() -- 2 hits in 2 files
  36. wowpedia, framexml, IsPetSwapAvailable() -- 1 hit, stub
  37. wowpedia, framexml, IsPlayerNPC() -- 2 hits in 1 file
  38. wowpedia, IsSkipAvailable() -- unused, stub
  39. wowpedia, framexml, IsTrapAvailable() -- 1 hit, stub
  40. wowpedia, framexml, IsWaitingOnOpponent() -- 2 hits in 1 file, stub
  41. wowpedia, framexml, IsWildBattle() -- 1 hit
  42. wowpedia, framexml, SetPendingReportTargetFromBattlePetOwner() -- 1 hit
  43. wowpedia, framexml, ShouldShowPetSelect() -- 5 hits in 1 file
  44. wowpedia, framexml, SkipTurn() -- 1 hit, stub
  45. wowpedia, framexml, StartPVPDuel() -- 1 hit
  46. wowpedia, framexml, StartPVPMatchmaking() -- 1 hit
  47. wowpedia, StopPVPMatchmaking() -- unused
  48. wowpedia, framexml, UseAbility() -- 1 hit, stub
  49. wowpedia, framexml, UseTrap() -- 1 hit, stub

C_PetJournal
  1. wowpedia, framexml, AddAllPetSourcesFilter() -- 1 hit
  2. wowpedia, framexml, AddAllPetTypesFilter() -- 1 hit
  3. wowpedia, framexml, CagePetByID() -- 1 hit
  4. wowpedia, framexml, ClearAllPetSourcesFilter() -- 1 hit
  5. wowpedia, framexml, ClearAllPetTypesFilter() -- 1 hit
  6. wowpedia, ClearSearchFilter() -- unused
  7. wowpedia, framexml, GetNumPetSources() -- 1 hit
  8. wowpedia, framexml, GetNumPetTypes() -- 1 hit
  9. wowpedia, framexml, GetNumPets() -- 2 hits in 1 file
  10. wowpedia, framexml, GetPetAbilityInfo() -- 7 hits in 3 files
  11. wowpedia, framexml, GetPetAbilityList() -- 4 hits in 2 files
  12. wowpedia, framexml, GetPetInfoByIndex() -- 4 hits in 1 file
  13. wowpedia, framexml, GetPetInfoByPetID() -- 7 hits in 2 files
  14. wowpedia, framexml, GetPetInfoBySpeciesID() -- 1 hit
  15. wowpedia, framexml, GetPetLoadOutInfo() -- 3 hits in 2 files
  16. wowpedia, framexml, GetPetStats() -- 8 hits in 1 file
  17. wowpedia, framexml, GetSummonedPetID() -- 2 hits in 1 file
  18. wowpedia, framexml, IsFlagFiltered() -- 3 hits in 1 file
  19. wowpedia, IsJournalReadOnly() -- unused
  20. wowpedia, framexml, IsPetSourceFiltered() -- 1 hit
  21. wowpedia, framexml, IsPetTypeFiltered() -- 1 hit
  22. wowpedia, framexml, PetIsCagable() -- 1 hit
  23. wowpedia, framexml, PetIsFavorite() -- 1 hit
  24. wowpedia, framexml, PetIsSummonable() -- 2 hits in 1 file
  25. wowpedia, framexml, PetIsTradable() -- 1 hit
  26. wowpedia, framexml, PickupPet() -- 1 hit
  27. wowpedia, framexml, ReleasePetByID() -- 1 hit
  28. wowpedia, framexml, SetAbility() -- 4 hits in 2 files
  29. wowpedia, framexml, SetCustomName() -- 2 hits in 1 file
  30. wowpedia, framexml, SetFavorite() -- 2 hits in 1 file
  31. wowpedia, framexml, SetFlagFilter() -- 3 hits in 1 file
  32. wowpedia, framexml, SetPetLoadOutInfo() -- 2 hits in 1 file
  33. wowpedia, framexml, SetPetSourceFilter() -- 1 hit
  34. wowpedia, framexml, SetPetTypeFilter() -- 1 hit
  35. wowpedia, framexml, SetSearchFilter() -- 2 hits in 1 file
  36. wowpedia, framexml, SummonPetByID() -- 2 hits in 2 files

C_Scenario
  1. wowpedia, framexml, GetCriteriaInfo() -- 1 hit
  2. wowpedia, framexml, GetInfo() -- 3 hits in 3 files
  3. wowpedia, framexml, GetScenarioIconInfo() -- 1 hit
  4. wowpedia, framexml, GetStepInfo() -- 3 hits in 3 files
  5. wowpedia, framexml, IsChallengeMode() -- 2 hits in 2 files
  6. wowpedia, framexml, IsInScenario() -- 2 hits in 2 files

_G[1]
Lua Code:
  1. _G[1] = {
  2.     Actor = "table",
  3.     ActorCreateData = "table",
  4.     AddToAnimTable = "function",
  5.     AnimKit = "table",
  6.     AnimKits = "table",
  7.     AnimTable5 = "table",
  8.     Animations = "table",
  9.     ApplyMatrixToVectorPoint = "function",
  10.     Broadcast = "function",
  11.     BroadcastType = "table",
  12.     Color = "table",
  13.     CopyMatrix = "function",
  14.     CreateRotationMatrixAroundX = "function",
  15.     CreateRotationMatrixAroundY = "function",
  16.     CreateRotationMatrixAroundZ = "function",
  17.     CreateTranslationMatrix = "function",
  18.     DEBUG_TABLE = "function",
  19.     GetGlobalString = "function",
  20.     GetStateLabel = "function",
  21.     InvertMatrix = "function",
  22.     LocalToWorldMatrix = "function",
  23.     MissReasons = "table",
  24.     MoveData = "table",
  25.     MovePoint = "table",
  26.     MovePosControl = "table",
  27.     MoveRotControl = "table",
  28.     MultiplyMatrixes = "function",
  29.     PathData = "table",
  30.     PathDataNode = "table",
  31.     PetBattle = "table",
  32.     PetBattleEffect = "table",
  33.     PetBattleEvent = "table",
  34.     PetBattleEventFlags = "table",
  35.     PetBattleEventTable = "table",
  36.     PetBattleFinalPet = "table",
  37.     PetBattlePet = "table",
  38.     PetBattlePetAbility = "table",
  39.     PetBattlePetAbilityEffect = "table",
  40.     PetBattlePetAbilityEffectType = "table",
  41.     PetBattlePetAbilityTurn = "table",
  42.     PetBattlePetActiveAbility = "table",
  43.     PetBattlePetAura = "table",
  44.     PetBattlePetID = "table",
  45.     PetBattlePetState = "table",
  46.     PetBattlePetStatus = "table",
  47.     PetBattlePlayer = "table",
  48.     PetBattlePlayerID = "table",
  49.     PetBattleRange = "table",
  50.     PetBattleScene = "table",
  51.     PetBattleState = "table",
  52.     PetBattleVisual = "table",
  53.     Print = "function",
  54.     STATE_LOOKUP = "table",
  55.     Scene = "table",
  56.     SoundKit = "table",
  57.     Sync = "table",
  58.     Transform = "table",
  59.     UnitDisplay = "table",
  60.     Vector = "table",
  61.     WorldText = "table",
  62.     WorldToLocalMatrix = "function",
  63. }
  64.  
  65. _G[1].Print == print -- true

Last edited by Ketho : 07-14-12 at 06:48 PM.