Include Blizzard_APIDocumentation and Search API Button to Code Editor with Wrath Classic Data (#57)
This commit is contained in:
@@ -0,0 +1,339 @@
|
||||
local BarberShop =
|
||||
{
|
||||
Name = "BarberShop",
|
||||
Type = "System",
|
||||
Namespace = "C_BarberShop",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ApplyCustomizationChoices",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Cancel",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ClearPreviewChoices",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clearSavedChoices", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CycleCharCustomization",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "CharCustomizationType", Nilable = false },
|
||||
{ Name = "forward", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAvailableCustomizations",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "categories", Type = "table", InnerType = "CharCustomizationCategory", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetBarbersChoiceCost",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "cost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCameraZoom",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "zoomLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCharacterData",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "characterData", Type = "PlayerInfoCharacterData", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCost",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "cost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCustomizationTypeInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "CharCustomizationType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "customizationName", Type = "cstring", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "isCurrent", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetViewingChrModel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "chrModelID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasAnyChanges",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasChanges", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsValidCustomizationType",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "CharCustomizationType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isValid", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsViewingAlteredForm",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isViewingAlteredForm", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsViewingNativeSex",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isNativeSex", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsViewingVisibleSex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "sex", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isVisibleSex", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PreviewCustomizationChoice",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "optionID", Type = "number", Nilable = false },
|
||||
{ Name = "choiceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RandomizeCustomizationChoices",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ResetCameraRotation",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ResetCustomizationChoices",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "RotateCamera",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "diffDegrees", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraDistanceOffset",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "offset", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraZoomLevel",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "zoomLevel", Type = "number", Nilable = false },
|
||||
{ Name = "keepCustomZoom", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCustomizationChoice",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "optionID", Type = "number", Nilable = false },
|
||||
{ Name = "choiceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetModelDressState",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "dressedState", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSelectedSex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "sex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingAlteredForm",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "isViewingAlteredForm", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingChrModel",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "chrModelID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingShapeshiftForm",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "shapeshiftFormID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ZoomCamera",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "zoomAmount", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BarberShopAppearanceApplied",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_APPEARANCE_APPLIED",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopCameraValuesUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_CAMERA_VALUES_UPDATED",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopClose",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_CLOSE",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopCostUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_COST_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopForceCustomizationsUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_FORCE_CUSTOMIZATIONS_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_OPEN",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopResult",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_RESULT",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConfirmBarbersChoice",
|
||||
Type = "Event",
|
||||
LiteralName = "CONFIRM_BARBERS_CHOICE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "cost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BarberShop);
|
||||
Reference in New Issue
Block a user