Exemple #1
0
        /// <description>
        /// (string filename, [string languageName])
        /// </description>
        /// <summary>Adds a language to the table</summary>
        /// <description>
        ///
        /// </description>
        /// <param name="filename">Name and path to the language file</param>
        /// <param name="languageName">Optional name to assign to the new language entry</param>
        /// <returns>True If file was successfully found and language created</returns>
        public int AddLanguage(string filename = "", string languageName = "")
        {
            InternalUnsafeMethods.AddLanguage__Args _args = new InternalUnsafeMethods.AddLanguage__Args()
            {
                filename     = filename,
                languageName = languageName,
            };
            int _engineResult = InternalUnsafeMethods.AddLanguage()(ObjectPtr, _args);

            return(_engineResult);
        }