Exemple #1
0
            internal static _GetLangName GetLangName()
            {
                if (_GetLangNameFunc == null)
                {
                    _GetLangNameFunc =
                        (_GetLangName)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnLangTable_getLangName"), typeof(_GetLangName));
                }

                return(_GetLangNameFunc);
            }
Exemple #2
0
            internal static _GetLangName GetLangName()
            {
                if (_GetLangNameFunc == null)
                {
                    _GetLangNameFunc =
                        (_GetLangName)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnLangTable_getLangName"), typeof(_GetLangName));
                }

                return(_GetLangNameFunc);
            }