using FL.Data.Items; using System.Collections.Generic; using XGame; using XGame.Database; using XGame.Framework.Data; namespace FL.Data { public class PlayerService : DataSingleton { /// /// 模拟初始化数据 /// public void Mock() { var data = PlayerData.Instance; data.UID = UIDDefine.New(); data.Name = "player"; var attr = PlayerData.Instance.Attr; attr.Hp = 10000; attr.HpLimit = 10000; attr.MoveSpeed = 5; attr.Attack = 15; } } }