using System; using Oculus.Platform.Models; namespace Oculus.Platform { public class MessageWithPartyUpdateNotification : Message { public MessageWithPartyUpdateNotification(IntPtr c_message) : base(c_message) { } public override PartyUpdateNotification GetPartyUpdateNotification() { return base.Data; } protected override PartyUpdateNotification GetDataFromMessage(IntPtr c_message) { IntPtr obj = CAPI.ovr_Message_GetNativeMessage(c_message); IntPtr o = CAPI.ovr_Message_GetPartyUpdateNotification(obj); return new PartyUpdateNotification(o); } } }