从本地国服 Beta 客户端(内部代号 Camelot)的 CASC 数据中提取,供插件开发参考。数据来源:Blizzard_APIDocumentationGenerated 插件、Wow.exe 字符串、Blizzard 插件 Lua 源码。
C_ActionBar.IsHighestSpellRank:(spellID: SpellIdentifier) → isHighestRank: boolC_BattleNet.GetDefaultTitleWhisperTarget:(id: number) → whisperTarget: stringLevelConstsExposed_Camelot:3 项C_LossOfControl.GetActiveLossOfControlData:新增标记 SecretWhenLossOfControlRestrictedC_LossOfControl.GetActiveLossOfControlDataByUnit:去掉标记 SecretWhenLossOfControlInfoRestricted;新增标记 SecretWhenLossOfControlRestrictedC_PaperDollInfo.CancelTemporaryEnchantment:说明文字改了C_PaperDollInfo.GetTemporaryEnchantmentInfo:说明文字改了C_Roleset.ApplyRolesetFilters:新增标记 HasRestrictions;说明文字改了C_Spell.IsSpellCrowdControl:SecretArguments AllowedWhenTainted → AllowedWhenUntaintedC_Texture.GetTitleIconTexture:参数 (titleID: string, version: TitleIconVersion, callback: GetTitleIconTextureCallback) → (titleID: string, version: TitleIconVersion, callback: GetTitleIconTextureCallback, subIcon?: string)C_Texture.IsTitleIconTextureReady:参数 (titleID: string, version: TitleIconVersion) → (titleID: string, version: TitleIconVersion, subIcon?: string)C_Texture.SetTitleIconTexture:参数 (texture: SimpleTexture, titleID: string, version: TitleIconVersion) → (texture: SimpleTexture, titleID: string, version: TitleIconVersion, subIcon?: string)SubscriptionInterstitialType:新增 SubscriptionPeriod = 3VasTransactionPurchaseResult:新增 ProxyNoMixedAlliance = 56;改为 EndProxyErrors 56 → 57BNetGameAccountInfo:新增 subIcon: stringLevelConstsExposedNamePartType:新增 Combined = 2PET_ORDER_MOVE_TO_PENDING_CHANGED:载荷 isPetOrderMoveToPending: boolSETTINGS_HEADER_TEXT_UPDATE:载荷 无C_GameRules.SetForeverExperiencePresetPostLogin:(preset: ForeverExperiencePreset) → 无返回值C_GameRules.SetForeverExperiencePresetPreLogin:(preset: ForeverExperiencePreset) → 无返回值C_PetInfo.IsPetOrderMoveToPending:() → isPetOrderMoveToPending: boolForeverExperiencePreset:新增 Enhanced = 1;删除 ModernC_GameRules.SetForeverExperiencePresetEXTERNAL_EVENT_LAUNCH_URL_RESULT:载荷 result: boolEXTERNAL_EVENT_URL_CHANGED:载荷 无MAIL_OPEN_ALL_CANCELED:载荷 无SECURE_TRANSFER_CONFIRM_TAKE_MAIL_MONEY:载荷 无SHARD_TRANSFER_CANCELLED:载荷 无C_AuctionHouse.GetItemKeySampleLink:(itemKey: ItemKey) → sampleItemLink?: stringC_BattleNet.AreRealIDFriendsEnabled:() → areRealIDFriendsEnabled: boolC_BattleNet.GetFriendLevelFromInviteText:(inviteText: cstring) → friendLevel: BattleNetFriendLevelC_ExternalEventURL.CanShow:() → canShow: boolC_SecureTransfer.GetMailReceiveInfo:() → mailInfo: MailReceiveInfoC_SecureTransfer.GetMailSendInfo:() → mailInfo: MailSendInfoC_SecureTransfer.ShouldShowTradeRMTWarning:() → shouldShow: boolC_SecureTransfer.TakeMailMoney:() → 无返回值C_Tutorial.SendTutorialStartButtonTelem:(skipTutorial: bool) → 无返回值GetCreditsDisplayInfo:() → info: tableGetCursorCenterPosition:() → posX: number, posY: numberGetOffhandHitModifier:() → result: numberGetPetCritChance:() → meleeCrit: number, spellCrit: numberGetPetDodgeChance:() → result: numberIsCursorVisible:() → visible: boolSdToggleUsageLocation:4 项SdToggleUsageLocationUI:4 项CreditsDisplayInfo:7 项MailReceiveInfo:2 项MailSendInfo:2 项GROUP_BUFF_VISUAL_ALERTS_CHANGED:说明文字改了HIDDEN_GROUP_BUFFS_CHANGED:说明文字改了PLAYER_LEVEL_UP:载荷 (level: number, healthDelta: number, powerDelta: number, numNewTalents: number, numNewPvpTalentSlots: number, strengthDelta: number, agilityDelta: number, staminaDelta: number, intellectDelta: number) → (level: number, healthDelta: number, powerDelta: number, numNewTalents: number, numNewPvpTalentSlots: number, strengthDelta: number, agilityDelta: number, staminaDelta: number, intellectDelta: number, spiritDelta: number)C_GameRules.SetSDHDToggleValue:参数 (setToSD: bool) → (setToSD: bool, usageLocation: SdToggleUsageLocationUI)C_UnitAuras.GetGroupBuffVisualAlerts:说明文字改了C_UnitAuras.GetHiddenGroupBuffs:说明文字改了GroupBuffItem:新增 displaySpellID: numberPVPScoreInfo:新增 gender: numberLegacyConsts:新增 LEGACY_DEFAULT_CATEGORY_WARRIOR = 15585、LEGACY_DEFAULT_CATEGORY_PALADIN = 15580、LEGACY_DEFAULT_CATEGORY_HUNTER = 15578、LEGACY_DEFAULT_CATEGORY_ROGUE = 15582、LEGACY_DEFAULT_CATEGORY_PRIEST = 15581、LEGACY_DEFAULT_CATEGORY_SHAMAN = 15583、LEGACY_DEFAULT_CATEGORY_MAGE = 15579、LEGACY_DEFAULT_CATEGORY_WARLOCK = 15584、LEGACY_DEFAULT_CATEGORY_DRUID = 15577UnitAuraUIConstants:改为 HIDDEN_GROUP_BUFF_LIST_SIZE 32 → 128、GROUP_BUFF_VISUAL_ALERT_LIST_SIZE 32 → 128EXTERNAL_EVENT_LAUNCH_URL_FAILEDC_GamepadTargeting.HasReticleHoverTargetC_SecureTransfer.GetMailInfoMailInfoVOICE_CHAT_ACTIVE_VOICE_PROVIDER_CHANGED:载荷 voiceProviderID: VoiceProviderIDVOICE_CHAT_DISCORD_SETTINGS_UPDATED:载荷 无VOICE_CHAT_VOICE_PROVIDERS_AVAILABLE_CHANGED:载荷 无VOICE_CHAT_VOICE_PROVIDER_CHANGED:载荷 voiceProviderID: VoiceProviderIDC_Discord.IsVoiceEnabled:() → enabled: boolC_VoiceChat.GetActiveVoiceProviderID:() → activeVoiceProviderID: VoiceProviderIDC_VoiceChat.RestoreActiveVoiceProvider:() → changed: boolC_VoiceChat.SetActiveVoiceProvider:(voiceProviderID: VoiceProviderID) → success: boolGetGlancingBlowChance:(playerWeaponSkill?: number, targetDefenseSkill: number) → result: numberGetGlancingBlowPenalty:(playerWeaponSkill?: number, targetDefenseSkill: number) → result: numberDiscordChannelID:1 项DiscordGuildID:1 项DiscordID:1 项DiscordLobbyID:1 项DiscordMemberID:1 项DiscordMessageID:1 项EditModeGamepadMainActionBarSetting:5 项LFGEntryVoiceMode:4 项VoiceProviderID:2 项QuestInfoLuaConsts:0 项VOICE_CHAT_CHANNEL_ACTIVATED:载荷 (channelID: number) → (channelID: VoiceChatID)VOICE_CHAT_CHANNEL_DEACTIVATED:载荷 (channelID: number) → (channelID: VoiceChatID)VOICE_CHAT_CHANNEL_DISPLAY_NAME_CHANGED:载荷 (channelID: number, channelDisplayName: cstring) → (channelID: VoiceChatID, channelDisplayName: cstring)VOICE_CHAT_CHANNEL_JOINED:载荷 (status: VoiceChatStatusCode, channelID: number, channelType: ChatChannelType, clubId?: ClubId, streamId?: ClubStreamId) → (status: VoiceChatStatusCode, channelID: VoiceChatID, channelType: ChatChannelType, clubId?: ClubId, streamId?: ClubStreamId)VOICE_CHAT_CHANNEL_MEMBER_ACTIVE_STATE_CHANGED:载荷 (memberID: number, channelID: number, isActive: bool) → (memberID: VoiceChatID, channelID: VoiceChatID, isActive: bool)VOICE_CHAT_CHANNEL_MEMBER_ADDED:载荷 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)VOICE_CHAT_CHANNEL_MEMBER_ENERGY_CHANGED:载荷 (memberID: number, channelID: number, speakingEnergy: number) → (memberID: VoiceChatID, channelID: VoiceChatID, speakingEnergy: number)VOICE_CHAT_CHANNEL_MEMBER_GUID_UPDATED:载荷 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)VOICE_CHAT_CHANNEL_MEMBER_MUTE_FOR_ALL_CHANGED:载荷 (memberID: number, channelID: number, isMutedForAll: bool) → (memberID: VoiceChatID, channelID: VoiceChatID, isMutedForAll: bool)VOICE_CHAT_CHANNEL_MEMBER_MUTE_FOR_ME_CHANGED:载荷 (memberID: number, channelID: number, isMutedForMe: bool) → (memberID: VoiceChatID, channelID: VoiceChatID, isMutedForMe: bool)VOICE_CHAT_CHANNEL_MEMBER_REMOVED:载荷 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)VOICE_CHAT_CHANNEL_MEMBER_SILENCED_CHANGED:载荷 (memberID: number, channelID: number, isSilenced: bool) → (memberID: VoiceChatID, channelID: VoiceChatID, isSilenced: bool)VOICE_CHAT_CHANNEL_MEMBER_SPEAKING_STATE_CHANGED:载荷 (memberID: number, channelID: number, isSpeaking: bool) → (memberID: VoiceChatID, channelID: VoiceChatID, isSpeaking: bool)VOICE_CHAT_CHANNEL_MEMBER_STT_MESSAGE:载荷 (memberID: number, channelID: number, message: string, language: string) → (memberID: VoiceChatID, channelID: VoiceChatID, message: string, language: string)VOICE_CHAT_CHANNEL_MEMBER_VOLUME_CHANGED:载荷 (memberID: number, channelID: number, volume: number) → (memberID: VoiceChatID, channelID: VoiceChatID, volume: number)VOICE_CHAT_CHANNEL_MUTE_STATE_CHANGED:载荷 (channelID: number, isMuted: bool) → (channelID: VoiceChatID, isMuted: bool)VOICE_CHAT_CHANNEL_PTT_CHANGED:载荷 (channelID: number, pushToTalkSetting: cstring) → (channelID: VoiceChatID, pushToTalkSetting: cstring)VOICE_CHAT_CHANNEL_REMOVED:载荷 (channelID: number) → (channelID: VoiceChatID)VOICE_CHAT_CHANNEL_TRANSCRIBING_CHANGED:载荷 (channelID: number, isTranscribing: bool) → (channelID: VoiceChatID, isTranscribing: bool)VOICE_CHAT_CHANNEL_TRANSMIT_CHANGED:载荷 (channelID: number, isTransmitting: bool) → (channelID: VoiceChatID, isTransmitting: bool)VOICE_CHAT_CHANNEL_VOLUME_CHANGED:载荷 (channelID: number, volume: number) → (channelID: VoiceChatID, volume: number)C_Discord.GetDiscordUserID:返回值 userID: DiscordID → userID: DiscordMemberOpaqueIDC_Discord.GetDiscordUserName:参数 (userID: DiscordID) → (userID: DiscordMemberOpaqueID)C_VoiceChat.ActivateChannel:参数 (channelID: number) → (channelID: VoiceChatID)C_VoiceChat.ActivateChannelTranscription:参数 (channelID: number) → (channelID: VoiceChatID)C_VoiceChat.DeactivateChannel:参数 (channelID: number) → (channelID: VoiceChatID)C_VoiceChat.DeactivateChannelTranscription:参数 (channelID: number) → (channelID: VoiceChatID)C_VoiceChat.GetActiveChannelID:返回值 channelID?: number → channelID?: VoiceChatIDC_VoiceChat.GetChannel:参数 (channelID: number) → (channelID: VoiceChatID)C_VoiceChat.GetLocalPlayerMemberID:参数 (channelID: number) → (channelID: VoiceChatID);返回值 memberID?: number → memberID?: VoiceChatIDC_VoiceChat.GetMemberGUID:参数 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)C_VoiceChat.GetMemberID:参数 (channelID: number, memberGUID: WOWGUID) → (channelID: VoiceChatID, memberGUID: WOWGUID);返回值 memberID?: number → memberID?: VoiceChatIDC_VoiceChat.GetMemberInfo:参数 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)C_VoiceChat.GetMemberName:参数 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)C_VoiceChat.IsMemberLocalPlayer:参数 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)C_VoiceChat.IsMemberMutedForAll:参数 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)C_VoiceChat.IsMemberSilenced:参数 (memberID: number, channelID: number) → (memberID: VoiceChatID, channelID: VoiceChatID)C_VoiceChat.LeaveChannel:参数 (channelID: number) → (channelID: VoiceChatID)C_VoiceChat.Login:参数 () → (channelType?: ChatChannelType);新增标记 SecretArgumentsC_VoiceChat.SetPortraitTexture:参数 (textureObject: SimpleTexture, memberID: number, channelID: number) → (textureObject: SimpleTexture, memberID: VoiceChatID, channelID: VoiceChatID)GetFrameStrata:新增标记 SecretReturnsForAspectSetFrameStrata:SecretArguments NotAllowed → AllowedWhenUntainted;新增标记 SecretArgumentsAddAspectChatChannelType:新增 DiscordParty = 5、DiscordGuild = 6、DiscordSolo = 7EditModeSystem:新增 GamepadMainActionBar = 30SecretAspect:新增 FrameStrata = 16777216TieredEntranceTierFlag:新增 None = 0、DisableTraitSystem = 2DiscordChatInfo:改为 userID None → NoneLfgEntryData:新增 voiceMode: LFGEntryVoiceModeLfgListingCreateData:新增 voiceMode: LFGEntryVoiceModeLfgSearchResultData:新增 voiceMode: LFGEntryVoiceModeVoiceChatChannel:改为 channelID None → NoneVoiceChatMember:改为 memberID None → NonePLAYER_PVP_FLAG_CHANGED:载荷 isPvpFlagged: boolC_Spell.GetItemCooldown:(itemID: number) → spellCooldownInfo: SpellCooldownInfoUnitUsesAmmo:(unit: UnitToken) → result: boolC_BattleNet.SetBlocked:新增标记 HasRestrictionsC_PlayerInfo.GetName:返回值 name?: string → name: string;新增标记 MayReturnNothingEventToastEventType:新增 RenownFactionLeveledUp = 27脚本引擎是标准 Lua 5.1.4(exe 内版权字符串 $Lua: Lua 5.1.4),与正式服相同。客户端是 Mainline 代码库,Housing、Mythic+ 等 12.0 时代的 API 都在,再通过 GameType 为 camelot 的规则关闭。
stringtablemathcoroutinebit (band, bor, bxor, bnot, lshift, rshift, arshift)没有 io,没有 os(只保留 date、time、difftime 作为全局),没有 package.loadlib、dofile、require。debug 库只剩 debugstack、debuglocals、debugprofilestart、debugprofilestop。
strsplitstrjoinstrconcatstrtrimstrlenutf8strcmputf8itostringallwipetinserttremovegetnformatgsubstrfindstrmatchstrsubstrlenstrupperstrlowerstrbytestrcharstrrepfloorceilabssqrtmaxminrandomfastrandomdatetimedifftimedebugstackdebuglocalsdebugprofilestartdebugprofilestopgeterrorhandlerseterrorhandlerloadstringsetfenvgetfenvnewproxygcinfocollectgarbageCopyTabletContainstInverttDeleteItemtIndexOfsecurecallsecurecallfunctionsecureexecuterangeissecureissecurevariableforceinsecurehooksecurefuncscrubcanaccessobjectissecretvalueissecrettablecanaccessvaluecanaccesstablesecretwrapsecretunwrapInCombatLockdownRunScript插件代码默认是"受污染"的。调用受保护函数或向安全框架写入会触发 ADDON_ACTION_BLOCKED 或 ADDON_ACTION_FORBIDDEN。查看 taint 用 CVar taintLog,脚本错误用 scriptErrors。
这是 12.0 引入、无限客户端完整继承的机制。在战斗、首领战、PvP 对局、聊天锁定等受限状态下,部分 API 不再返回明文,而是返回 <secret>。机密值可以原样交给接受它的 API(文档里 SecretArguments 为 AllowedWhenTainted 的,如 FontString:SetText),可以拼接(结果仍是机密值)、交给 string.format、作为值存进表;插件代码对它运算、与同类型的值比较、取长度、当表的键、判断机密布尔值,或把它交给 math.*、string.upper 这类转换数字或字符串的函数,都会直接报 Lua 错误(1.60.1.70338 实测)。
issecretvalue(v)、issecrettable(t)、canaccessvalue(v)、canaccesstable(t):判断一个值能否读取。secretwrap、secretunwrap:exe 中存在,供安全环境使用。SecretArguments 字段:AllowedWhenUntainted(默认,只有未污染代码可传机密)、AllowedWhenTainted(插件也可传入)、NotAllowed(永远不接受机密)。SecretReturns 与 SecretWhen* 系列字段说明哪些返回值在什么条件下会变成机密,例如 SecretWhenUnitStatsRestricted、SecretWhenUnitAuraRestricted、SecretInChatMessagingLockdown。C_RestrictedActions 暴露:Enum.AddOnRestrictionType 有 Combat、Encounter、ChallengeMode、PvPMatch、Map、Chat 六种,事件 ADDON_RESTRICTION_STATE_CHANGED 通知状态变化。C_DamageMeter、C_CooldownViewer、C_EncounterTimeline、C_EncounterWarnings,第三方插件只能消费它们给出的、带机密标记的数据。启动日志显示 LimitedLuaResources 机制存在但当前关闭(Enabled = false)。预设配额:每插件 Frame 10000、Texture 40000、FontString 5000、Font 300、Timer 500、AnimGroup 2000、Animation 5000;全局 Frame 100000、Texture 400000。另有 CVar luaScriptBucketThrottleEnabled 系列控制脚本每秒执行时间上限,受限状态下阈值更低。
scriptErrorsscriptWarningsscriptProfiletaintLogcheckAddonVersionluaErrorExceptionsluaScriptBucketThrottleEnabledluaScriptBucketThrottleMaxMsPerSecondNormalluaScriptBucketThrottleMaxMsPerSecondRestrictedluaScriptBucketThrottleMaxMsBurstNormalluaScriptBucketThrottleMaxMsBurstRestrictedallowUntaintedCreationenableDeprecationAddonsexe 内识别的 TOC 指令:
## Interface## Title## Author## Version## Notes## Category## Dependencies## OptionalDeps## SavedVariables## SavedVariablesPerCharacter## LoadOnDemand## LoadWith## LoadManagers## DefaultState## IconTexture## IconAtlas## AddonCompartmentFunc## AddonCompartmentFuncOnEnter## AddonCompartmentFuncOnLeave## AllowLoad## AllowLoadGameType## LoadSavedVariablesFirst## Secure游戏类型标签集合为 standard、classic、vanilla、mainline、camelot、wowlabs、plunderstorm。无限对应 camelot。暴雪自己的插件用 ## AllowLoadGameType: camelot 限定加载,并用 [Family] 占位符和 camelot 子目录放差异文件,例如 [Family]\GameModeSelectConstants.lua。
Interface 版本号:Blizzard 插件 TOC 不写版本。按既有规则(主版本×10000 + 次版本×100 + 修订),1.60.1 对应 16001。这是推算值,登录后用 select(4, GetBuildInfo()) 确认。版本检查受 CVar checkAddonVersion 控制,不匹配只会标记"过期",不会阻止加载。
文件名后缀:exe 字符串表里有 Camelot、Classic、Mainline、Standard、Vanilla、WoWLabs、Plunderstorm 这组首字母大写标记,和既有的 MyAddon_Mainline.toc、MyAddon_Vanilla.toc 规则同源,因此无限专用 TOC 很可能是 MyAddon_Camelot.toc。未在本地验证,建议同时保留无后缀 TOC。
Enum.GameRule.UserAddonsDisabled 与 UserScriptsDisabled:由服务器下发的游戏规则,可整体关闭第三方插件或 /run、/script 脚本。本地 Cfg_GameRules 表有 203 条默认值,但枚举编号不在文档里,实际生效值要登录后用 C_GameRules.IsGameRuleActive 读取。C_AddOns.GetScriptsDisallowedForBeta():Beta 专用开关,为真时聊天命令 /run 和 /script 被禁用。这个函数在插件列表与聊天框代码中都有引用。Enum.GameRule.MacrosDisabled:宏开关。enableDeprecationAddons:加载 Blizzard_Deprecated* 兼容层,为旧 API 提供回退。本客户端带 18 个 Deprecated 插件,包括 SpellBook、UnitScript、CombatLog、ActionBar、Transmog、PartyInfo。只能由安全代码或硬件事件触发的安全按钮调用,插件直接调用会被 FORBIDDEN。以下是 exe 内存在的经典受保护函数:
AcceptBattlefieldPortAcceptDuelAssistUnitAttackTargetBuyMerchantItemCameraOrSelectOrMoveStartCancelShapeshiftFormCancelUnitBuffCastPetActionCastShapeshiftFormCastSpellByIDCastSpellByNameClearTargetFocusUnitFollowUnitInteractUnitInviteUnitJumpOrAscendStartMoveForwardStartPetAttackPetFollowPickupActionPickupContainerItemPickupInventoryItemPickupSpellPlaceActionRunMacroRunMacroTextRunScriptSetTradeMoneySetViewSpellStopCastingStartAttackStartDuelStopAttackTargetNearestEnemyTargetUnitToggleRunToggleSheathTurnLeftStartUseActionUseContainerItemUseInventoryItemUseQuestLogSpecialItem文档里另有 73 个带 IsProtectedFunction 标记的对象方法(Frame 等控件的 Show、Hide、SetPoint、SetScale、SetParent、SetFrameStrata、RegisterForClicks 等):插件在自己创建的框体上随时可以调用,只有对受保护的安全框架,在战斗锁定时不可用。它们标为「受保护的方法」,不算受保护。
Blizzard_RestrictedAddOnEnvironment 插件在 camelot 下加载,提供完整的安全环境:
SecureActionButtonTemplateSecureUnitButtonTemplateSecureAuraButtonTemplateSecureAuraHeaderTemplateSecureFrameTemplateSecureGroupHeaderTemplateSecureGroupPetHeaderTemplateSecurePartyHeaderTemplateSecurePartyPetHeaderTemplateSecureRaidGroupHeaderTemplateSecureRaidPetHeaderTemplateSecureHandlerBaseTemplateSecureHandlerAttributeTemplateSecureHandlerClickTemplateSecureHandlerDoubleClickTemplateSecureHandlerDragTemplateSecureHandlerEnterLeaveTemplateSecureHandlerMouseUpDownTemplateSecureHandlerMouseWheelTemplateSecureHandlerShowHideTemplateSecureHandlerStateTemplateTOC 中 SecureAuraHeader 只在 classic 类型下加载,无限(camelot)不含它。
exe 内 GameRule 枚举约 150 项。以下是与玩法和界面开关直接相关的一部分,可用 C_GameRules.IsGameRuleActive(Enum.GameRule.X) 或 GetGameRuleAsFloat 读取:
UserAddonsDisabledUserScriptsDisabledMacrosDisabledEditModeDisabledTransmogEnabledSummoningStonesEnableAmmoSystemDisableCampsitesHousingEnabledHousingDashboardDisabledPetBattlesDisabledEncounterJournalDisabledEjDungeonsDisabledEjRaidsDisabledTalentsPanelDisabledAchievementsPanelDisabledProfessionsPanelDisabledCollectionsPanelDisabledCompactRaidFrameManagerDisabledPersonalResourceDisplayDisabledTargetCastBarDisabledNameplateCastBarDisabledPlayerCastBarDisabledObjectiveTrackerDisabledQuestLogSuperTrackingDisabledWorldMapTrackingPinDisabledMaximizeWorldMapDisabledBagsUIDisabledAeLootDisabledLootMethodStyleVanillaRageGenerationModifierManaRegenBonusStatMeansMp5BinarySpellPushbackResistNoDebuffLimitSingleTargetComboPointsVanillaNpcKnockbackHardcoreRulesetSelfFoundAllowedDisableHonorDecayTalentRespecCostMinTalentRespecCostMaxTalentRespecCostStepTrivialGroupXPPercentPreventXPAndLootForExcessiveOutsideHelpMaxLootDropLevelCharNameReservationEnabledMaxCharReservationsPerRealmRecommendLeastPopulatedRealmDisableRealmSelectionUseSimpleCharacterSelectListFullCharacterCreateDisabledAlwaysAllowAlliedRacesRaceAlteredFormsDisabledForceAlteredFormsOnC_GameRules.GetForeverExperiencePreset() / SetForeverExperiencePresetPreLogin(preset)、SetForeverExperiencePresetPostLogin(preset),枚举 Enum.ForeverExperiencePreset:Classic = 0,Enhanced = 1。C_GameRules.IsSDHDToggleEnabled()、AccountHasSDEnabled()、SetSDHDToggleValue(setToSD):标清 / 高清角色模型切换。C_GameRules.GetActiveGameMode()、GetCurrentGameModeRecordID()、IsHardcoreActive()、IsSelfFoundAllowed():GameMode 表有 standard、wf、wfhc 三种标签。Constants.LegacyConsts.LEGACY_TREE_PROFESSIONS_ID、LEGACY_TREE_ADVENTURE_ID、LEGACY_TREE_PROGRESSION_ID,货币 CURRENCY_ID_RENOWN_LEGACY、LEGACY_POINTS_TRAIT_CURRENCY_ID。PLAYER_CAMPING 是登出倒计时(CAMP_TIMER),不是篝火。篝火露营在本构建没有独立 Lua 接口,只有种族技能图标。