public static bool CheckDataRange( ChaFile chafile, bool chk_custom, bool chk_clothes, bool chk_parameter, List <string> checkInfo = null) { bool flag = false; if (chk_custom) { flag = flag | ChaFileControl.CheckDataRangeFace(chafile, checkInfo) | ChaFileControl.CheckDataRangeBody(chafile, checkInfo) | ChaFileControl.CheckDataRangeHair(chafile, checkInfo); } if (chk_clothes) { flag |= ChaFileControl.CheckDataRangeCoordinate(chafile, checkInfo); } if (chk_parameter) { flag |= ChaFileControl.CheckDataRangeParameter(chafile, checkInfo); } if (flag) { Debug.LogWarningFormat("【{0}】 範囲外!", new object[1] { (object)chafile.parameter.fullname }); } return(flag); }
public static bool CheckDataRangeCoordinate(ChaFile chafile, List <string> checkInfo = null) { return(ChaFileControl.CheckDataRangeCoordinate(chafile.coordinate, (int)chafile.parameter.sex, checkInfo)); }