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