Example #1
0
            internal static _ReadLine ReadLine()
            {
                if (_ReadLineFunc == null)
                {
                    _ReadLineFunc =
                        (_ReadLine)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnStreamObject_readLine"), typeof(_ReadLine));
                }

                return(_ReadLineFunc);
            }
Example #2
0
            internal static _ReadLine ReadLine()
            {
                if (_ReadLineFunc == null)
                {
                    _ReadLineFunc =
                        (_ReadLine)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnFileObject_readLine"), typeof(_ReadLine));
                }

                return(_ReadLineFunc);
            }