public RequestDataOnSimObject(uint requestId, uint defineId, uint objectId, Period period, DataRequestFlag flags, uint origin, uint interval, uint limit) { this.requestId = requestId; this.defineId = defineId; this.objectId = objectId; this.period = period; this.flags = flags; this.origin = origin; this.interval = interval; this.limit = limit; }
internal static extern HRESULT RequestDataOnSimObject(HANDLE hSimConnect, DWORD RequestID, DWORD DefineID, DWORD ObjectID, Period Period, DataRequestFlag Flags = 0, DWORD origin = 0, DWORD interval = 0, DWORD limit = 0);
public void RequestDataOnSimObject(Enum requestId, Enum defineId, uint objectId, Period period, DataRequestFlag flags = 0, uint origin = 0, uint interval = 0, uint limit = 0) { CheckHresult(InvokeOverSocket(new MethodCall.RequestDataOnSimObject(Convert.ToUInt32(requestId), Convert.ToUInt32(defineId), objectId, period, flags, origin, interval, limit)).Hresult); }