Exemple #1
0
        public static CExoLocString ToExoLocString(this CExoString str, int nId = 0, byte gender = 0)
        {
            CExoLocString locString = new CExoLocString();

            locString.AddString(nId, str, gender);
            return(locString);
        }
Exemple #2
0
        public static CExoLocString ToExoLocString(this string?str, int nId = 0, byte gender = 0)
        {
            CExoLocString locString = new CExoLocString();

            locString.AddString(nId, str != null ? new CExoString(str) : new CExoString(), gender);
            return(locString);
        }