Esempio n. 1
0
 private SteamContext()
 {
     // we made the context aware it can't run in 64 bit.
     WrappedContext = CarbyneSteamContext.SteamContext.GetInstance();
     if (!Is32Bit())
     {
         Steam4NETProxy = new Steam4NETProxy();
     }
 }
Esempio n. 2
0
 public void Shutdown()
 {
     lock (CoreInstanceMutex)
     {
         if (!Is32Bit())
         {
             Steam4NETProxy.Dispose();
             Steam4NETProxy = null;
         }
         else
         {
             WrappedContext.Shutdown();
         }
         CoreInstance = null;
     }
 }