/// <summary> 组装数据 </summary> private ASObject BulidData(WarGoVo temp) { var dic = new Dictionary <string, object> { { "result", (int)ResultType.SUCCESS }, { "vo", temp }, }; return(new ASObject(dic)); }
/// <summary> 组装数据 </summary> private ASObject BulidData(WarGoVo temp, Int64 foods, Int64 funds, int soldier, int time, int state) { var dic = new Dictionary <string, object> { { "result", (int)ResultType.SUCCESS }, { "vo", temp }, { "foods", foods }, { "funds", funds }, { "soldier", soldier }, { "time", time }, { "state", state }, }; return(new ASObject(dic)); }