public BuyThingsTask(TaskContext context) : base(context) { Logger.Debug("1"); _thing = context.Settings.Thing; _num = context.Settings.Num; _useLB = context.Settings.UseLB; Logger.Debug("2"); }
private void Buy(MallThing thing) { TaskContext context = new TaskContext(SoftContext.Role); /// 任务设置,可用属性为:.Thing .Num .UseLB context.Settings.Thing = thing; context.Settings.Num = Number; context.Settings.UseLB = this._useLB; TaskBase task = new BuyThingsTask(context); task.Name = "购买商城物品"; SoftContext.TaskEngine.Start(task); }
public static string GetBagPageName(MallThing thing) { return ""; }
public static string GetRepertoryPageName(MallThing thing) { return ""; }
public static bool MoveThing(MallThing thing) { return true; }