public static DataMemberInspector SetFlagNum(string id, int Num) { var result = new DataMemberInspector(id); result.AddData("flagNum", Num); return(result); }
public static DataMemberInspector AddHaveNum(string id, int num) { var result = new DataMemberInspector(id); var have = SaveDataController.Instance.GetData <ItemDB>(id, "haveNum"); result.AddData("haveNum", have + num); return(result); }
void SetMemberSet() { _memberSet = new List <DataMemberInspector>(); foreach (var dataList in _saveDataList) { foreach (var data in dataList.Value) { DataMemberInspector temp = null; foreach (var st in data._memberSet_int) { temp = new DataMemberInspector(data._serchId); temp.AddData(st.Key, st.Value, DataMemberInspector.HIKAKU.NONE); } _memberSet.Add(temp); } } }