thrift-related/thrift-files/meowment/Sound.thrift
2026-01-19 21:11:05 +08:00

18 lines
443 B
Thrift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace netstd Byway.Thrift.Data
struct SoundItem
{
1:i32 Id, // 声音编号
2:string AssetName, // 资源名称
3:i32 Priority, // 优先级默认0128最高-128最低
4:bool Loop, // 是否循环
5:double Volume, // 音量0~1
6:double SpatialBlend, // 声音空间混合量0为2D1为3D中间值混合效果
7:double MaxDistance, // 声音最大距离
}
struct Sound
{
1:map<i32,SoundItem> sounds,
}