public FriendPresence GetPresence() { FriendPresence presence = new FriendPresence(); GetPresence(this, ref presence); return(presence); }
private static extern bool IsSamePresenceGroupApplication(FriendPresence pFriendPresence);
private static extern PresenceStatus GetStatus(FriendPresence pFriendPresence);
private static extern long GetLastUpdatePosixTime(FriendPresence pFriendPresence);
private static extern ApplicationInfo GetLastPlayedApplication(FriendPresence pFriendPresence);
private static extern void GetDescription(FriendPresence pFriendPresence, [MarshalAs(UnmanagedType.LPStr), In, Out] StringBuilder description, long size);
private static extern void GetPresence(Friend friend, ref FriendPresence outPresence);