Files
UltimateFishing/Assets/Scripts/Assembly-CSharp/Oculus/Platform/MessageWithLivestreamingVideoStats.cs
2026-02-21 16:45:37 +08:00

26 lines
616 B
C#

using System;
using Oculus.Platform.Models;
namespace Oculus.Platform
{
public class MessageWithLivestreamingVideoStats : Message<LivestreamingVideoStats>
{
public MessageWithLivestreamingVideoStats(IntPtr c_message)
: base(c_message)
{
}
public override LivestreamingVideoStats GetLivestreamingVideoStats()
{
return base.Data;
}
protected override LivestreamingVideoStats GetDataFromMessage(IntPtr c_message)
{
IntPtr obj = CAPI.ovr_Message_GetNativeMessage(c_message);
IntPtr o = CAPI.ovr_Message_GetLivestreamingVideoStats(obj);
return new LivestreamingVideoStats(o);
}
}
}