24 lines
537 B
C#
24 lines
537 B
C#
using System;
|
|
|
|
namespace Oculus.Platform.Models
|
|
{
|
|
public class ApplicationVersion
|
|
{
|
|
public readonly int CurrentCode;
|
|
|
|
public readonly string CurrentName;
|
|
|
|
public readonly int LatestCode;
|
|
|
|
public readonly string LatestName;
|
|
|
|
public ApplicationVersion(IntPtr o)
|
|
{
|
|
CurrentCode = CAPI.ovr_ApplicationVersion_GetCurrentCode(o);
|
|
CurrentName = CAPI.ovr_ApplicationVersion_GetCurrentName(o);
|
|
LatestCode = CAPI.ovr_ApplicationVersion_GetLatestCode(o);
|
|
LatestName = CAPI.ovr_ApplicationVersion_GetLatestName(o);
|
|
}
|
|
}
|
|
}
|