1066 lines
30 KiB
Lua
1066 lines
30 KiB
Lua
local LFGListInfo =
|
|
{
|
|
Name = "LFGList",
|
|
Type = "System",
|
|
Namespace = "C_LFGList",
|
|
Environment = "All",
|
|
|
|
Functions =
|
|
{
|
|
{
|
|
Name = "CanActiveEntryUseAutoAccept",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "canUseAutoAccept", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "CanCreateQuestGroup",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "questID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "canCreate", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "CanCreateScenarioGroup",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "scenarioID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "canCreate", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "ClearApplicationTextFields",
|
|
Type = "Function",
|
|
},
|
|
{
|
|
Name = "ClearCreationTextFields",
|
|
Type = "Function",
|
|
},
|
|
{
|
|
Name = "ClearSearchTextFields",
|
|
Type = "Function",
|
|
},
|
|
{
|
|
Name = "ConfirmCensoredActiveEntry",
|
|
Type = "Function",
|
|
},
|
|
{
|
|
Name = "CopyActiveEntryInfoToCreationFields",
|
|
Type = "Function",
|
|
},
|
|
{
|
|
Name = "CreateListing",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "createData", Type = "LfgListingCreateData", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "success", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "CreateScenarioListing",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
{ Name = "itemLevel", Type = "number", Nilable = false },
|
|
{ Name = "autoAccept", Type = "bool", Nilable = false },
|
|
{ Name = "privateGroup", Type = "bool", Nilable = false },
|
|
{ Name = "scenarioID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "canCreate", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "DoesCensoredTextMatch",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "name", Type = "cstring", Nilable = false },
|
|
{ Name = "comment", Type = "cstring", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "isMatch", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "DoesEntryTitleMatchPrebuiltTitle",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
{ Name = "groupID", Type = "number", Nilable = false },
|
|
{ Name = "playstyle", Type = "LFGEntryPlaystyle", Nilable = true },
|
|
{ Name = "generalPlaystyle", Type = "LFGEntryGeneralPlaystyle", Nilable = true },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "matches", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetActiveEntryInfo",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretInChatMessagingLockdown = true,
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "entryData", Type = "LfgEntryData", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetActivityFullName",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
{ Name = "questID", Type = "number", Nilable = true },
|
|
{ Name = "showWarmode", Type = "bool", Nilable = true },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "fullName", Type = "string", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetActivityGroupInfo",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "groupID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "name", Type = "string", Nilable = false },
|
|
{ Name = "orderIndex", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetActivityInfoTable",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
{ Name = "questID", Type = "number", Nilable = true },
|
|
{ Name = "showWarmode", Type = "bool", Nilable = true },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "activityInfo", Type = "GroupFinderActivityInfo", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetAdvancedFilter",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "options", Type = "AdvancedFilterOptions", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetApplicantBestDungeonScore",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "localID", Type = "number", Nilable = false },
|
|
{ Name = "applicantIndex", Type = "luaIndex", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "bestDungeonScoreForListing", Type = "BestDungeonScoreMapInfo", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetApplicantDungeonScoreForListing",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "localID", Type = "number", Nilable = false },
|
|
{ Name = "applicantIndex", Type = "luaIndex", Nilable = false },
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "bestDungeonScoreForListing", Type = "BestDungeonScoreMapInfo", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetApplicantInfo",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretInChatMessagingLockdown = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "applicantID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "applicantData", Type = "LfgApplicantData", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetApplicantPvpRatingInfoForListing",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "localID", Type = "number", Nilable = false },
|
|
{ Name = "applicantIndex", Type = "luaIndex", Nilable = false },
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "pvpRatingInfo", Type = "PvpRatingInfo", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetAvailableActivityGroups",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "categoryID", Type = "number", Nilable = false },
|
|
{ Name = "filter", Type = "number", Nilable = false, Default = 0 },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "activityIDs", Type = "table", InnerType = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetFilteredSearchResults",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "totalResultsFound", Type = "number", Nilable = false, Default = 0 },
|
|
{ Name = "filteredResults", Type = "table", InnerType = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetGroupLeaverCountsByRole",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "tankLeavers", Type = "number", Nilable = false },
|
|
{ Name = "healerLeavers", Type = "number", Nilable = false },
|
|
{ Name = "damageLeavers", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetKeystoneForActivity",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "level", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetLfgCategoryInfo",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "categoryID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "categoryData", Type = "LfgCategoryData", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetOwnedKeystoneActivityAndGroupAndLevel",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "getTimewalking", Type = "bool", Nilable = false, Default = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
{ Name = "groupID", Type = "number", Nilable = false },
|
|
{ Name = "keystoneLevel", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetPlaystyleString",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "playstyle", Type = "LFGEntryPlaystyle", Nilable = false },
|
|
{ Name = "generalPlaystyle", Type = "LFGEntryGeneralPlaystyle", Nilable = false },
|
|
{ Name = "activityInfo", Type = "GroupFinderActivityInfo", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "playstyleString", Type = "string", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetPremadeGroupFinderStyle",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "style", Type = "PremadeGroupFinderStyle", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetSearchResultInfo",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretInChatMessagingLockdown = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "searchResultData", Type = "LfgSearchResultData", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetSearchResultLeaderInfo",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretInChatMessagingLockdown = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "leaderInfo", Type = "LfgSearchResultPlayerInfo", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetSearchResultPlayerInfo",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretInChatMessagingLockdown = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
{ Name = "memberIndex", Type = "luaIndex", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "playerInfo", Type = "LfgSearchResultPlayerInfo", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetSearchResults",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "totalResultsFound", Type = "number", Nilable = false, Default = 0 },
|
|
{ Name = "results", Type = "table", InnerType = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "HasActiveEntryInfo",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "hasActiveEntryInfo", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "HasSearchResultInfo",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "hasSearchResultInfo", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "IsCensoredActiveEntryUnresolved",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "isUnresolved", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "IsPlayerAuthenticatedForLFG",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityCategoryID", Type = "number", Nilable = true },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "isAuthenticated", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "IsPlayerValidForEndgameFieldEdits",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "isValid", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "IsPremadeGroupFinderEnabled",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "enabled", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "ListingUsesEndgameEditRestrictions",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "isEndgameListing", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "ReportGroupAsAdvertisement",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "RevealCensoredActiveEntry",
|
|
Type = "Function",
|
|
},
|
|
{
|
|
Name = "RevealCensoredSearchResult",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "SaveAdvancedFilter",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "options", Type = "AdvancedFilterOptions", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "Search",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "categoryID", Type = "number", Nilable = false },
|
|
{ Name = "filter", Type = "number", Nilable = false, Default = 0 },
|
|
{ Name = "preferredFilters", Type = "number", Nilable = false, Default = 0 },
|
|
{ Name = "languageFilter", Type = "WowLocale", Nilable = true },
|
|
{ Name = "searchCrossFactionListings", Type = "bool", Nilable = true, Default = false },
|
|
{ Name = "advancedFilter", Type = "AdvancedFilterOptions", Nilable = true },
|
|
{ Name = "activityIDsFilter", Type = "table", InnerType = "number", Nilable = true, Documentation = { "Activity IDs to filter by." } },
|
|
},
|
|
},
|
|
{
|
|
Name = "SetEntryTitle",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
{ Name = "groupID", Type = "number", Nilable = false },
|
|
{ Name = "playstyle", Type = "LFGEntryPlaystyle", Nilable = true },
|
|
{ Name = "generalPlaystyle", Type = "LFGEntryGeneralPlaystyle", Nilable = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "SetSearchToActivity",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "SetSearchToQuestID",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "questID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "SetSearchToScenarioID",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "scenarioID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "UpdateListing",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "createData", Type = "LfgListingCreateData", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "success", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "ValidateRequiredDungeonScore",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "dungeonScore", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "passes", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "ValidateRequiredPvpRatingForActivity",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "activityID", Type = "number", Nilable = false },
|
|
{ Name = "rating", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "passes", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Events =
|
|
{
|
|
{
|
|
Name = "LfgGroupDelistedLeadershipChange",
|
|
Type = "Event",
|
|
LiteralName = "LFG_GROUP_DELISTED_LEADERSHIP_CHANGE",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "listingName", Type = "string", Nilable = false },
|
|
{ Name = "automaticDelistTimeRemaining", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListActiveEntryUpdate",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_ACTIVE_ENTRY_UPDATE",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "created", Type = "bool", Nilable = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListApplicantListUpdated",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_APPLICANT_LIST_UPDATED",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "newPendingEntry", Type = "bool", Nilable = true },
|
|
{ Name = "newPendingEntryWithData", Type = "bool", Nilable = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListApplicantUpdated",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_APPLICANT_UPDATED",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "applicantID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListApplicationStatusUpdated",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_APPLICATION_STATUS_UPDATED",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
{ Name = "newStatus", Type = "cstring", Nilable = false },
|
|
{ Name = "oldStatus", Type = "cstring", Nilable = false },
|
|
{ Name = "groupName", Type = "kstringLfgListChat", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListAvailabilityUpdate",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_AVAILABILITY_UPDATE",
|
|
SynchronousEvent = true,
|
|
},
|
|
{
|
|
Name = "LfgListCensoredActiveEntryUpdate",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_CENSORED_ACTIVE_ENTRY_UPDATE",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "isCensored", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListEntryCreationFailed",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_ENTRY_CREATION_FAILED",
|
|
SynchronousEvent = true,
|
|
},
|
|
{
|
|
Name = "LfgListEntryExpiredTimeout",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_ENTRY_EXPIRED_TIMEOUT",
|
|
SynchronousEvent = true,
|
|
},
|
|
{
|
|
Name = "LfgListEntryExpiredTooManyPlayers",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_ENTRY_EXPIRED_TOO_MANY_PLAYERS",
|
|
SynchronousEvent = true,
|
|
},
|
|
{
|
|
Name = "LfgListJoinedGroup",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_JOINED_GROUP",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
{ Name = "groupName", Type = "kstringLfgListChat", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListRevealedCensoredActiveEntry",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_REVEALED_CENSORED_ACTIVE_ENTRY",
|
|
SynchronousEvent = true,
|
|
},
|
|
{
|
|
Name = "LfgListSearchFailed",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_SEARCH_FAILED",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "reason", Type = "cstring", Nilable = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListSearchResultUpdated",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_SEARCH_RESULT_UPDATED",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListSearchResultsReceived",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_SEARCH_RESULTS_RECEIVED",
|
|
SynchronousEvent = true,
|
|
},
|
|
{
|
|
Name = "LfgListShowSearch",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_SHOW_SEARCH",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "activityIDsFilter", Type = "table", InnerType = "number", Nilable = true },
|
|
{ Name = "showAllLevelRanges", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListUpdateSearchResults",
|
|
Type = "Event",
|
|
LiteralName = "LFG_LIST_UPDATE_SEARCH_RESULTS",
|
|
SynchronousEvent = true,
|
|
},
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
{
|
|
Name = "AdvancedFilterOptions",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "needsTank", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "needsHealer", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "needsDamage", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "needsMyClass", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "hasTank", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "hasHealer", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "activities", Type = "table", InnerType = "number", Nilable = false, Documentation = { "Activity group IDs to filter by." } },
|
|
{ Name = "minimumRating", Type = "number", Nilable = false, Default = 0 },
|
|
{ Name = "difficultyNormal", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "difficultyHeroic", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "difficultyMythic", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "difficultyMythicPlus", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "generalPlaystyle1", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "generalPlaystyle2", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "generalPlaystyle3", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "generalPlaystyle4", Type = "bool", Nilable = false, Default = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "BestDungeonScoreMapInfo",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "mapScore", Type = "number", Nilable = false },
|
|
{ Name = "mapName", Type = "string", Nilable = false },
|
|
{ Name = "bestRunLevel", Type = "number", Nilable = false },
|
|
{ Name = "finishedSuccess", Type = "bool", Nilable = false },
|
|
{ Name = "bestRunDurationMs", Type = "number", Nilable = false },
|
|
{ Name = "bestLevelIncrement", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GroupFinderActivityInfo",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "fullName", Type = "string", Nilable = false },
|
|
{ Name = "shortName", Type = "string", Nilable = false },
|
|
{ Name = "categoryID", Type = "number", Nilable = false },
|
|
{ Name = "groupFinderActivityGroupID", Type = "number", Nilable = false },
|
|
{ Name = "ilvlSuggestion", Type = "number", Nilable = false },
|
|
{ Name = "filters", Type = "number", Nilable = false },
|
|
{ Name = "minLevel", Type = "number", Nilable = false },
|
|
{ Name = "minLevelSuggestion", Type = "number", Nilable = false },
|
|
{ Name = "maxLevelSuggestion", Type = "number", Nilable = false },
|
|
{ Name = "maxNumPlayers", Type = "number", Nilable = false },
|
|
{ Name = "displayType", Type = "LFGListDisplayType", Nilable = false },
|
|
{ Name = "orderIndex", Type = "number", Nilable = false },
|
|
{ Name = "useHonorLevel", Type = "bool", Nilable = false },
|
|
{ Name = "showQuickJoinToast", Type = "bool", Nilable = false },
|
|
{ Name = "isMythicPlusActivity", Type = "bool", Nilable = false },
|
|
{ Name = "isRatedPvpActivity", Type = "bool", Nilable = false },
|
|
{ Name = "isCurrentRaidActivity", Type = "bool", Nilable = false },
|
|
{ Name = "isPvpActivity", Type = "bool", Nilable = false },
|
|
{ Name = "isMythicActivity", Type = "bool", Nilable = false },
|
|
{ Name = "allowCrossFaction", Type = "bool", Nilable = false },
|
|
{ Name = "isHeroicActivity", Type = "bool", Nilable = false },
|
|
{ Name = "isNormalActivity", Type = "bool", Nilable = false },
|
|
{ Name = "mapID", Type = "number", Nilable = false },
|
|
{ Name = "difficultyID", Type = "number", Nilable = false },
|
|
{ Name = "redirectedDifficultyID", Type = "number", Nilable = false },
|
|
{ Name = "useDungeonRoleExpectations", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgApplicantData",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "applicantID", Type = "number", Nilable = false },
|
|
{ Name = "applicationStatus", Type = "cstring", Nilable = false, NeverSecret = true },
|
|
{ Name = "pendingApplicationStatus", Type = "cstring", Nilable = true, NeverSecret = true },
|
|
{ Name = "numMembers", Type = "number", Nilable = false, NeverSecret = true },
|
|
{ Name = "isNew", Type = "bool", Nilable = false },
|
|
{ Name = "comment", Type = "kstringLfgListApplicant", Nilable = false },
|
|
{ Name = "displayOrderID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgCategoryData",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "name", Type = "cstring", Nilable = false },
|
|
{ Name = "searchPromptOverride", Type = "cstring", Nilable = true },
|
|
{ Name = "separateRecommended", Type = "bool", Nilable = false },
|
|
{ Name = "autoChooseActivity", Type = "bool", Nilable = false },
|
|
{ Name = "preferCurrentArea", Type = "bool", Nilable = false },
|
|
{ Name = "showPlaystyleDropdown", Type = "bool", Nilable = false },
|
|
{ Name = "allowCrossFaction", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgEntryData",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "activityIDs", Type = "table", InnerType = "number", Nilable = false, NeverSecret = true },
|
|
{ Name = "requiredItemLevel", Type = "number", Nilable = false },
|
|
{ Name = "requiredHonorLevel", Type = "number", Nilable = false },
|
|
{ Name = "name", Type = "kstringLfgListApplicant", Nilable = false },
|
|
{ Name = "comment", Type = "kstringLfgListApplicant", Nilable = false },
|
|
{ Name = "voiceChat", Type = "kstringLfgListApplicant", Nilable = false },
|
|
{ Name = "censored", Type = "bool", Nilable = false },
|
|
{ Name = "duration", Type = "time_t", Nilable = false },
|
|
{ Name = "autoAccept", Type = "bool", Nilable = false },
|
|
{ Name = "privateGroup", Type = "bool", Nilable = false },
|
|
{ Name = "questID", Type = "number", Nilable = true },
|
|
{ Name = "requiredDungeonScore", Type = "number", Nilable = true },
|
|
{ Name = "requiredPvpRating", Type = "number", Nilable = true },
|
|
{ Name = "playstyle", Type = "LFGEntryPlaystyle", Nilable = true },
|
|
{ Name = "generalPlaystyle", Type = "LFGEntryGeneralPlaystyle", Nilable = true },
|
|
{ Name = "isCrossFactionListing", Type = "bool", Nilable = false },
|
|
{ Name = "newPlayerFriendly", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgListingCreateData",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "activityIDs", Type = "table", InnerType = "number", Nilable = false },
|
|
{ Name = "questID", Type = "number", Nilable = true },
|
|
{ Name = "isAutoAccept", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "isCrossFactionListing", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "isPrivateGroup", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "newPlayerFriendly", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "playstyle", Type = "LFGEntryPlaystyle", Nilable = false, Default = "None" },
|
|
{ Name = "generalPlaystyle", Type = "LFGEntryGeneralPlaystyle", Nilable = false, Default = "None" },
|
|
{ Name = "requiredDungeonScore", Type = "number", Nilable = false, Default = 0 },
|
|
{ Name = "requiredItemLevel", Type = "number", Nilable = false, Default = 0 },
|
|
{ Name = "requiredPvpRating", Type = "number", Nilable = false, Default = 0 },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgSearchResultData",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "searchResultID", Type = "number", Nilable = false },
|
|
{ Name = "activityIDs", Type = "table", InnerType = "number", Nilable = false },
|
|
{ Name = "leaderName", Type = "string", Nilable = true },
|
|
{ Name = "name", Type = "kstringLfgListSearch", Nilable = false },
|
|
{ Name = "comment", Type = "kstringLfgListSearch", Nilable = false },
|
|
{ Name = "voiceChat", Type = "kstringLfgListSearch", Nilable = false },
|
|
{ Name = "censored", Type = "bool", Nilable = false },
|
|
{ Name = "requiredItemLevel", Type = "number", Nilable = false },
|
|
{ Name = "requiredHonorLevel", Type = "number", Nilable = false },
|
|
{ Name = "hasSelf", Type = "bool", Nilable = false },
|
|
{ Name = "numMembers", Type = "number", Nilable = false },
|
|
{ Name = "numBNetFriends", Type = "number", Nilable = false },
|
|
{ Name = "numCharFriends", Type = "number", Nilable = false },
|
|
{ Name = "numGuildMates", Type = "number", Nilable = false },
|
|
{ Name = "isDelisted", Type = "bool", Nilable = false },
|
|
{ Name = "autoAccept", Type = "bool", Nilable = false },
|
|
{ Name = "isWarMode", Type = "bool", Nilable = false },
|
|
{ Name = "age", Type = "time_t", Nilable = false },
|
|
{ Name = "questID", Type = "number", Nilable = true },
|
|
{ Name = "leaderOverallDungeonScore", Type = "number", Nilable = true },
|
|
{ Name = "leaderDungeonScoreInfo", Type = "table", InnerType = "BestDungeonScoreMapInfo", Nilable = false },
|
|
{ Name = "leaderBestDungeonScoreInfo", Type = "BestDungeonScoreMapInfo", Nilable = true },
|
|
{ Name = "leaderPvpRatingInfo", Type = "table", InnerType = "PvpRatingInfo", Nilable = false },
|
|
{ Name = "requiredDungeonScore", Type = "number", Nilable = true },
|
|
{ Name = "requiredPvpRating", Type = "number", Nilable = true },
|
|
{ Name = "playstyle", Type = "LFGEntryPlaystyle", Nilable = true },
|
|
{ Name = "generalPlaystyle", Type = "LFGEntryGeneralPlaystyle", Nilable = true },
|
|
{ Name = "crossFactionListing", Type = "bool", Nilable = true },
|
|
{ Name = "leaderFactionGroup", Type = "number", Nilable = false },
|
|
{ Name = "newPlayerFriendly", Type = "bool", Nilable = true },
|
|
{ Name = "partyGUID", Type = "WOWGUID", Nilable = false, NeverSecret = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "LfgSearchResultPlayerInfo",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "name", Type = "string", Nilable = true },
|
|
{ Name = "level", Type = "number", Nilable = true },
|
|
{ Name = "areaName", Type = "cstring", Nilable = true },
|
|
{ Name = "className", Type = "cstring", Nilable = false },
|
|
{ Name = "classFilename", Type = "cstring", Nilable = false },
|
|
{ Name = "specName", Type = "cstring", Nilable = true },
|
|
{ Name = "assignedRole", Type = "cstring", Nilable = false },
|
|
{ Name = "lfgRoles", Type = "LFGRoles", Nilable = false },
|
|
{ Name = "isLeader", Type = "bool", Nilable = false },
|
|
{ Name = "isLeaver", Type = "bool", Nilable = false, Default = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "PvpRatingInfo",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "bracket", Type = "number", Nilable = false },
|
|
{ Name = "rating", Type = "number", Nilable = false },
|
|
{ Name = "activityName", Type = "string", Nilable = false },
|
|
{ Name = "tier", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "WowLocale",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "enUS", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "koKR", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "frFR", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "deDE", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "zhCN", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "zhTW", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "esES", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "esMX", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "ruRU", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "ptBR", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "itIT", Type = "bool", Nilable = false, Default = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Predicates =
|
|
{
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(LFGListInfo); |