26 lines
608 B
C#
26 lines
608 B
C#
using System;
|
|
using Oculus.Platform.Models;
|
|
|
|
namespace Oculus.Platform
|
|
{
|
|
public class MessageWithLaunchReportFlowResult : Message<LaunchReportFlowResult>
|
|
{
|
|
public MessageWithLaunchReportFlowResult(IntPtr c_message)
|
|
: base(c_message)
|
|
{
|
|
}
|
|
|
|
public override LaunchReportFlowResult GetLaunchReportFlowResult()
|
|
{
|
|
return base.Data;
|
|
}
|
|
|
|
protected override LaunchReportFlowResult GetDataFromMessage(IntPtr c_message)
|
|
{
|
|
IntPtr obj = CAPI.ovr_Message_GetNativeMessage(c_message);
|
|
IntPtr o = CAPI.ovr_Message_GetLaunchReportFlowResult(obj);
|
|
return new LaunchReportFlowResult(o);
|
|
}
|
|
}
|
|
}
|