Game Framework  2021.05.31
GameFramework.Sound 命名空间参考

interface  ISoundAgent
 声音代理接口。 更多...
 
interface  ISoundAgentHelper
 声音代理辅助器接口。 更多...
 
interface  ISoundGroup
 声音组接口。 更多...
 
interface  ISoundGroupHelper
 声音组辅助器接口。 更多...
 
interface  ISoundHelper
 声音辅助器接口。 更多...
 
interface  ISoundManager
 声音管理器接口。 更多...
 
class  PlaySoundDependencyAssetEventArgs
 播放声音时加载依赖资源事件。 更多...
 
class  PlaySoundFailureEventArgs
 播放声音失败事件。 更多...
 
class  PlaySoundParams
 播放声音参数。 更多...
 
class  PlaySoundSuccessEventArgs
 播放声音成功事件。 更多...
 
class  PlaySoundUpdateEventArgs
 播放声音更新事件。 更多...
 
class  ResetSoundAgentEventArgs
 重置声音代理事件。 更多...
 

枚举

enum class  PlaySoundErrorCode : byte {
  Unknown = 0 , SoundGroupNotExist , SoundGroupHasNoAgent , LoadAssetFailure ,
  IgnoredDueToLowPriority , SetSoundAssetFailure
}
 播放声音错误码。 更多...
 

枚举类型说明

◆ PlaySoundErrorCode

enum PlaySoundErrorCode : byte
strong

播放声音错误码。

枚举值
Unknown 

未知错误。

SoundGroupNotExist 

声音组不存在。

SoundGroupHasNoAgent 

声音组没有声音代理。

LoadAssetFailure 

加载资源失败。

IgnoredDueToLowPriority 

播放声音因优先级低被忽略。

SetSoundAssetFailure 

设置声音资源失败。