Пример #1
0
 public void LevelChanged(S.LevelChanged p)
 {
     User.SetLevel(p.Level);
     User.Experience    = p.Experience;
     User.MaxExperience = p.MaxExperience;
     User.RefreshStats();
     GameScene.UpdateCharacterIcon();
     GameScene.ChatController.ReceiveChat("Congratulations! You have leveled up. Your HP and MP have been restored.", ChatType.System);
 }
Пример #2
0
 public static void LevelChanged(S.LevelChanged p)
 {
     gameManager.LevelChanged(p);
 }