internal static _OnConnectionRequest OnConnectionRequest() { if (_OnConnectionRequestFunc == null) { _OnConnectionRequestFunc = (_OnConnectionRequest)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "cbTCPObject_onConnectionRequest"), typeof(_OnConnectionRequest)); } return(_OnConnectionRequestFunc); }
internal static _OnConnectionRequest OnConnectionRequest() { if (_OnConnectionRequestFunc == null) { _OnConnectionRequestFunc = (_OnConnectionRequest)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "cbTCPObject_onConnectionRequest"), typeof(_OnConnectionRequest)); } return(_OnConnectionRequestFunc); }