Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions UndertaleModLib/Decompiler/GlobalDecompileContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,12 @@
return null;
}
return $"{_instanceIdPrefix}{assetIndex}";
case AssetType.AudioGroup:

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / publish_cli (macOS-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / publish_cli (macOS-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / publish_cli (windows-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / publish_cli (windows-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / publish_cli (ubuntu-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 409 in UndertaleModLib/Decompiler/GlobalDecompileContext.cs

View workflow job for this annotation

GitHub Actions / publish_cli (ubuntu-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'
if (assetIndex >= (Data.AudioGroups?.Count ?? 0))
{
return null;
}
return Data.AudioGroups[assetIndex]?.Name?.Content;
}

return null;
Expand Down
9 changes: 9 additions & 0 deletions UndertaleModLib/GameSpecificData/Underanalyzer/gamemaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,15 @@
"audio_sound_get_gain": [ "Asset.Sound" ],
"audio_play_sound_on": [ null, "Asset.Sound", "Bool", null ],
"audio_play_in_sync_group": [ null, "Asset.Sound" ],
"audio_group_get_assets": [ "Asset.AudioGroup" ],
"audio_group_get_gain": [ "Asset.AudioGroup" ],
"audio_group_is_loaded": [ "Asset.AudioGroup" ],
"audio_group_load": [ "Asset.AudioGroup" ],
"audio_group_load_progress": [ "Asset.AudioGroup" ],
"audio_group_name": [ "Asset.AudioGroup" ],
"audio_group_set_gain": [ "Asset.AudioGroup", null, null ],
"audio_group_stop_all": [ "Asset.AudioGroup" ],
"audio_group_unload": [ "Asset.AudioGroup" ],
"sound_exists": [ "Asset.Sound" ],
"sound_get_name": [ "Asset.Sound" ],
"sound_play": [ "Asset.Sound" ],
Expand Down
2 changes: 2 additions & 0 deletions UndertaleModLib/Models/UndertaleCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,7 @@
AssetType.Object => 0,
AssetType.Sprite => 1,
AssetType.Sound => 2,
AssetType.AudioGroup => 2,

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (macOS-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (macOS-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (windows-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (windows-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (ubuntu-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1326 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (ubuntu-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'
AssetType.Room => 3,
AssetType.Path => 4,
AssetType.Script => 5,
Expand All @@ -1343,6 +1344,7 @@
AssetType.Object => 0,
AssetType.Sprite => 1,
AssetType.Sound => 2,
AssetType.AudioGroup => 2,

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, true)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / build_gui (windows-latest, Debug, false, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (macOS-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (macOS-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (windows-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (windows-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (ubuntu-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'

Check failure on line 1347 in UndertaleModLib/Models/UndertaleCode.cs

View workflow job for this annotation

GitHub Actions / publish_cli (ubuntu-latest, Debug, false)

'AssetType' does not contain a definition for 'AudioGroup'
AssetType.Room => 3,
AssetType.Background => 4,
AssetType.Path => 5,
Expand Down
Loading