LocHelper.cs
/// <summary>
/// Expects text like in the 'AddStringsExample.txt' file
/// </summary>
/// <param name="text"></param>
/// <param name="errors"></param>
/// <returns>Returns the binary string data, is not in UCFB format.</returns>
Expects text like in the 'AddStringsExample.txt' file
Expects text like in the ' AddStringsExample . txt ' file
public static List<byte> GetBinaryLocData(string text, List<string> errors)
        {
            List<byte> retVal = new List<byte>();
            List<LocalizedString> myStrings = ParseStrings(text, errors);
            foreach (LocalizedString element in myStrings)
            {
                retVal.AddRange(element.GetLocBytes());
            }
            return retVal;
        }
public static List < byte > GetBinaryLocData ( string text , List < string > errors ) { List < byte > retVal = new List < byte > ( ) ; List < LocalizedString > myStrings = ParseStrings ( text , errors ) ; foreach ( LocalizedString element in myStrings ) { retVal . AddRange ( element . GetLocBytes ( ) ) ; } return retVal ; }
Expects text like in the 'AddStringsExample.txt' file
Expects text like in the ' AddStringsExample . txt ' file
Returns the binary string data, is not in UCFB format.
Returns the binary string data is not in UCFB format .
text
string
None
errors
List<string>
None