Пример #1
0
 static internal bool RestartAppIfNecessary(uint unOwnAppID)
 {
     if (Config.Os == OsType.Windows)
     {
         return(Win64.SteamAPI_RestartAppIfNecessary(unOwnAppID));
     }
     else if (Config.Os == OsType.Posix)
     {
         return(Posix.SteamAPI_RestartAppIfNecessary(unOwnAppID));
     }
     else
     {
         throw new System.Exception("this platform isn't supported");
     }
 }