public string GetOpHintStr(BaseEventOption option) { string finalStr = Const.Prefix_Lang_OptHintTrans + TDID + option.Index; if (!BaseLanguageMgr.IsContain(finalStr)) { finalStr = "CommonOptHint"; } return(Util.GetStr(finalStr, Options[option.Index].Rewards.GetDesc())); }
public string GetOpName(BaseEventOption option) { string NameKey = TDID + Const.Suffix_Op + "_" + option.Index; return(Util.GetStr(NameKey)); }
public void SelOption(TData eventData, BaseEventOption option) { SelOption(eventData, option.Index); }