Module: nintendo.nex.debug

Provides a client and server for the DebugProtocol. This page was generated automatically from debug.proto.

class DebugClient
The client for the DebugProtocol.

class DebugServer
The server for the DebugProtocol.

class ApiCall(Structure)
class ApiCallSummary(Structure)

DebugClient

def __init__(client: RMCClient / HppClient)
Creates a new DebugClient.

async def enable_api_recorder() -> None
Calls method 1 on the server.

async def disable_api_recorder() -> None
Calls method 2 on the server.

async def is_api_recorder_enabled() -> bool
Calls method 3 on the server.

async def get_api_calls(pids: list[int], start: DateTime, end: DateTime) -> list[ApiCall]
Calls method 4 on the server.

async def get_api_call_summary(pid: int, start: DateTime, end: DateTime, only_limit_exceeded: bool) -> list[ApiCallSummary]
Calls method 7 on the server.

DebugServer

def __init__()
Creates a new DebugServer.

async def logout(client: RMCClient) -> None
Called whenever a client is disconnected. May be overridden by a subclass.

async def enable_api_recorder(client: RMCClient) -> None
Handler for method 1. This method should be overridden by a subclass.

async def disable_api_recorder(client: RMCClient) -> None
Handler for method 2. This method should be overridden by a subclass.

async def is_api_recorder_enabled(client: RMCClient) -> bool
Handler for method 3. This method should be overridden by a subclass.

async def get_api_calls(client: RMCClient, pids: list[int], start: DateTime, end: DateTime) -> list[ApiCall]
Handler for method 4. This method should be overridden by a subclass.

async def get_api_call_summary(client: RMCClient, pid: int, start: DateTime, end: DateTime, only_limit_exceeded: bool) -> list[ApiCallSummary]
Handler for method 7. This method should be overridden by a subclass.

ApiCall

def __init__()
Creates a new ApiCall instance. Required fields must be filled in manually.

The following fields are defined in this class:
name: str
time: DateTime
pid: int

ApiCallSummary

def __init__()
Creates a new ApiCallSummary instance. Required fields must be filled in manually.

The following fields are defined in this class:
name: str
limit_exceeded: int
duration: int
limit: int
start: DateTime
limit_exceeded_count: int
total_count: int