using FL.Data; using XGame.Framework.Network; namespace FL.Network { public class UserInfoNamePushCtrl : MsgController { protected override void OnProcess(UserInfoNamePush message, object context) { if ( message?.name != null) { PlayerData.Instance.Name = message.name; } } } }