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