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