Esempio n. 1
0
 private void OnPlayerNameChanged(string oldName, string newName)
 {
     UpdateLocalPlayer();
     if (isLoaded)
     {
         UsersRequest.WriteUser(LocalPlayer, engine.GetService <IPlayerService>().wishlist.JsonCompatibale);
     }
 }
Esempio n. 2
0
 private void WritePlayer()
 {
     if (!isPlayerWrited)
     {
         isPlayerWrited = true;
         UsersRequest.WriteUser(LocalPlayer, engine.GetService <IPlayerService>().wishlist.JsonCompatibale);
     }
 }