Exemplo n.º 1
0
        public string GetDoerValue(Doer doer, string key, string typeString)
        {
            string result;

            if (GetDoerValue_User(doer, key, typeString, out result))
            {
                return(result);
            }
            if (GetDoerValue_Mission(doer, key, typeString, out result))
            {
                return(result);
            }
            if (GetDoerValue_Doer(doer, key, typeString, out result))
            {
                return(result);
            }
            return(DoerAttrParserUtil.ConvertValue(doer.Get <object>(key), typeString).ToString());
        }