public bool LoadParamFromChara(ChaFileDefine.CoordinateType coordinate, ParamsKind paramsKind) { if (paramCustom == null) { return(false); } changedInfo.SetInfo(coordinate, paramsKind, false, true, true); switch (paramsKind) { case ParamsKind.Naked: return(paramCustom.paramBustNaked.LoadParamsFromCharacter(this)); case ParamsKind.Bra: return(paramCustom.paramBust[coordinate][ParamsKind.Bra].LoadParamsFromCharacter(this)); case ParamsKind.Tops: return(paramCustom.paramBust[coordinate][ParamsKind.Tops].LoadParamsFromCharacter(this)); case ParamsKind.Hip: return(paramCustom.paramHip.LoadParamsFromCharacter(this)); default: return(false); } }
public static void ExecuteParams(ParamsKind paramKind) { if (!_instance) { return; } ParamsClass param = Parameters.get(paramKind); switch (_instance.CurrentQuest) { case 2: if (paramKind == ParamsKind.IQ && param.Value >= 10) { _instance.ExecuteQuest(); } break; case 3: if (paramKind == ParamsKind.WELL && param.Value >= 10) { _instance.ExecuteQuest(); } break; } }
private bool IsMatchState(ParamsKind paramsKind, ChaFileDefine.CoordinateType coordinate = ChaFileDefine.CoordinateType.School01) { switch (paramsKind) { case ParamsKind.Naked: if (GetNowBustWear() == ParamsKind.Naked) { return(true); } else { return(false); } case ParamsKind.Bra: if (coordinate == GetNowCoordinate() && paramsKind == GetNowBustWear()) { return(true); } else { return(false); } case ParamsKind.Tops: if (coordinate == GetNowCoordinate() && paramsKind == GetNowBustWear()) { return(true); } else { return(false); } case ParamsKind.Hip: return(true); default: return(false); } }
public static void ExecuteParams(ParamsKind paramKind) { if (!_instance) return; ParamsClass param = Parameters.get(paramKind); switch (_instance.CurrentQuest) { case 2: if (paramKind == ParamsKind.IQ && param.Value >= 10) { _instance.ExecuteQuest(); } break; case 3: if (paramKind == ParamsKind.WELL && param.Value >= 10) { _instance.ExecuteQuest(); } break; } }
public bool isEnabledNowBust() { if (paramCustom == null) { return(false); } ChaFileDefine.CoordinateType coordinate = GetNowCoordinate(); ParamsKind state = GetNowBustWear(); if (state == ParamsKind.Naked) { return(paramCustom.paramBustNaked.enabled); } else if (state == ParamsKind.Bra || state == ParamsKind.Tops) { return(paramCustom.paramBust[coordinate][state].enabled); } return(false); }
internal static ParamsClass get(ParamsKind index) { return Params[index]; }
internal static ParamsClass get(ParamsKind index) { return(Params[index]); }