Beispiel #1
0
 static internal void RegisterCallResult(IntPtr pCallback, SteamAPICall_t callback)
 {
     if (Config.Os == OsType.Windows)
     {
         Win64.SteamAPI_RegisterCallResult(pCallback, callback);
     }
     else if (Config.Os == OsType.Posix)
     {
         Posix.SteamAPI_RegisterCallResult(pCallback, callback);
     }
     else
     {
         throw new System.Exception("this platform isn't supported");
     }
 }