Files
JJBB/Assets/Plugins/YunvaIMScript/Protocol/ImRecordVolumeNotify.cs
2024-08-23 15:49:34 +08:00

20 lines
749 B
C#
Raw Permalink 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.

using UnityEngine;
using System.Collections;
namespace YunvaIM
{
public class ImRecordVolumeNotify : YunvaMsgBase
{
public string v_ext;//扩展字段
public int v_volume;//音量1-100
public ImRecordVolumeNotify(object Parser)
{
uint parser = (uint)Parser;
v_ext = YunVaImInterface.IntPtrToString(YunVaImInterface.parser_get_string(parser, 1, 0));
v_volume = YunVaImInterface.parser_get_integer(parser, 2, 0);
YunvaLogPrint.YvDebugLog ("ImRecordVolumeNotify", string.Format ("v_ext:{0},v_volume:{1}",v_ext,v_volume));
YunVaImInterface.eventQueue.Enqueue(new InvokeEventClass(ProtocolEnum.IM_RECORD_VOLUME_NOTIFY, this));
}
}
}