Exemplo n.º 1
0
 public static void Initialize(string gameName, string displayGameName, string developer, IconColor iconColor)
 {
     Release();
     m_gameName = gameName;
     m_client   = new GameSenseClient();
     m_client.RegisterGame(gameName, displayGameName, developer, iconColor);
     m_client.EnableHeartbeat(gameName, true);
 }
Exemplo n.º 2
0
 public static void Release()
 {
     if (m_client != null)
     {
         m_client.Dispose();
         m_client   = null;
         m_gameName = null;
     }
 }