/// <summary>
 /// <para> Legacy functions</para>
 /// <para> used by only a few games to track usage events</para>
 /// </summary>
 public static void TrackAppUsageEvent(GameId gameId, int eAppUsageEvent, string ExtraInfo = "")
 {
     InteropHelp.TestIfAvailableClient();
     using (var ExtraInfo2 = new InteropHelp.UTF8StringHandle(ExtraInfo)) {
         NativeMethods.ISteamUser_TrackAppUsageEvent(gameId, eAppUsageEvent, ExtraInfo2);
     }
 }
Ejemplo n.º 2
0
 internal void TrackAppUsageEvent(GameId gameID, int eAppUsageEvent, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8StringToNative))] string pchExtraInfo)
 {
     _TrackAppUsageEvent(Self, gameID, eAppUsageEvent, pchExtraInfo);
 }
Ejemplo n.º 3
0
 private static extern void _TrackAppUsageEvent(IntPtr self, GameId gameID, int eAppUsageEvent, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8StringToNative))] string pchExtraInfo);
Ejemplo n.º 4
0
 internal void TrackAppUsageEvent(GameId gameID, int eAppUsageEvent, string pchExtraInfo)
 {
     _TrackAppUsageEvent(Self, gameID, eAppUsageEvent, pchExtraInfo);
 }