Exemplo n.º 1
0
            internal static _GetGhostID GetGhostID()
            {
                if (_GetGhostIDFunc == null)
                {
                    _GetGhostIDFunc =
                        (_GetGhostID)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_getGhostID"), typeof(_GetGhostID));
                }

                return(_GetGhostIDFunc);
            }
Exemplo n.º 2
0
            internal static _GetGhostID GetGhostID()
            {
                if (_GetGhostIDFunc == null)
                {
                    _GetGhostIDFunc =
                        (_GetGhostID)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_getGhostID"), typeof(_GetGhostID));
                }

                return(_GetGhostIDFunc);
            }