private void HeroLevelUp(int heroId, int addLevel) { PlayerHeroLogic ph = new PlayerHeroLogic(); ph.SetUser(m_UserId).SetHero(heroId); if (!ph.DataCheck()) { return; } ph.AddLevel(addLevel); m_ResponsePacket.LobbyHeroInfo = new PBLobbyHeroInfo() { Type = heroId, Level = ph.MyHeros.Heros[heroId].HeroLv, Exp = ph.MyHeros.Heros[heroId].HeroExp }; }