debug

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package debug implements the Debug SimConnect API category.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Debug

type Debug struct {
	// contains filtered or unexported fields
}

Debug exposes diagnostic functions for timing and packet tracking.

func New

func New(s Session) *Debug

New creates a Debug client wrapping the core SimConnect session.

func (*Debug) LastSentPacketID

func (d *Debug) LastSentPacketID() (uint32, error)

LastSentPacketID returns the packet ID of the most recently sent SimConnect call.

func (*Debug) RequestResponseTimes

func (d *Debug) RequestResponseTimes(count uint32) ([]float32, error)

RequestResponseTimes returns response-time measurements for the last count packets.

type Session

type Session interface {
	Bindings() *bindings.SimConnect
}

Session is the subset of client.Sim methods used by this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL