public void SetUser(UserPB user) { PlayerVo.UserId = user.UserId; PlayerVo.AccountId = user.AccountId; PlayerVo.Index = user.Index; PlayerVo.LogoId = user.Logo; PlayerVo.CreateTime = user.CreateTime; PlayerVo.UserName = user.UserName; PlayerVo.UserOther = user.UserOther; PlayerVo.ChannelAccountId = user.ChannelAccountId; PlayerVo.Apparel = user.Apparel; }
public void UpdataUserGameName(UserPB pB, UserExtraInfoPB extraInfoPB) { PlayerVo.ExtInfo = extraInfoPB; PlayerVo.UserName = pB.UserName; EventDispatcher.TriggerEvent(EventConst.UpDataUserName, PlayerVo); }