Include Blizzard_APIDocumentation and Search API Button to Code Editor with Wrath Classic Data (#57)
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
local Sound =
|
||||
{
|
||||
Name = "Sound",
|
||||
Type = "System",
|
||||
Namespace = "C_Sound",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetSoundScaledVolume",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "soundHandle", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "scaledVolume", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPlaying",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "soundHandle", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPlaying", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayItemSound",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "soundType", Type = "ItemSoundType", Nilable = false },
|
||||
{ Name = "itemLocation", Type = "ItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "SoundDeviceUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "SOUND_DEVICE_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "SoundkitFinished",
|
||||
Type = "Event",
|
||||
LiteralName = "SOUNDKIT_FINISHED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "soundHandle", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Sound);
|
||||
Reference in New Issue
Block a user