Exemplo n.º 1
0
 static internal HSteamUser GetHSteamUser()
 {
     if (Config.Os == OsType.Windows)
     {
         return(Win64.SteamAPI_GetHSteamUser());
     }
     else if (Config.Os == OsType.Posix)
     {
         return(Posix.SteamAPI_GetHSteamUser());
     }
     else
     {
         throw new System.Exception("this platform isn't supported");
     }
 }