private void OnEnable()
 {
     hackManager    = GetComponent <HackManager>();
     unblockedPacks = new List <int>();
     foreach (var pair in messagePairs)
     {
         if (pair.voiceMessage.day >= day)
         {
             pair.voiceMessage.played = false;
         }
         else
         {
             pair.voiceMessage.played = true;
             unblockedPacks.Add(pair.pack.id);
         }
     }
     currentMessagePair.value        = new MessagePair();
     inAudioTransmission             = false;
     isGameDataLoaded                = false;
     isGamePackDataLoaded            = false;
     clientConnection.OnClientAdded += OnClientAdded;
     Debug.Log("onenable");
     //serverConnection.GetFillerMessages(SetFillerMessages);
     GameUploader.GetAllGameDataIndexes(SetGameDataIndexes);
     GameUploader.GetAllGamePackIndexes(SetGamePackIndexes);
 }
 static void PrintDBContent()
 {
     GameUploader.GetAllGamePackIndexes(PrintPackCount);
     GameUploader.GetAllGameDataIndexes(PrintGameCount);
 }
 static void RemoveDBContent()
 {
     GameUploader.GetAllGamePackIndexes(RemovePacks);
     GameUploader.GetAllGameDataIndexes(RemoveGames);
 }