Exemple #1
0
        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()));
        }
Exemple #2
0
        public string GetOpName(BaseEventOption option)
        {
            string NameKey = TDID + Const.Suffix_Op + "_" + option.Index;

            return(Util.GetStr(NameKey));
        }
Exemple #3
0
 public void SelOption(TData eventData, BaseEventOption option)
 {
     SelOption(eventData, option.Index);
 }