Exemplo n.º 1
0
            internal static int GetGhostIndex(IntPtr thisPtr, IntPtr obj)
            {
                if (_GetGhostIndexFunc == null)
                {
                    _GetGhostIndexFunc =
                        (_GetGhostIndex)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                   "fn_NetConnection_GetGhostIndex"), typeof(_GetGhostIndex));
                }

                return(_GetGhostIndexFunc(thisPtr, obj));
            }
Exemplo n.º 2
0
            internal static _GetGhostIndex GetGhostIndex()
            {
                if (_GetGhostIndexFunc == null)
                {
                    _GetGhostIndexFunc =
                        (_GetGhostIndex)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_GetGhostIndex"), typeof(_GetGhostIndex));
                }

                return(_GetGhostIndexFunc);
            }
Exemplo n.º 3
0
            internal static _GetGhostIndex GetGhostIndex()
            {
                if (_GetGhostIndexFunc == null)
                {
                    _GetGhostIndexFunc =
                        (_GetGhostIndex)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_GetGhostIndex"), typeof(_GetGhostIndex));
                }

                return(_GetGhostIndexFunc);
            }