Module: nintendo.nex.notification

Provides a client and server for the NotificationProtocol. This page was generated automatically from notification.proto.

class NotificationClient
The client for the NotificationProtocol.

class NotificationServer
The server for the NotificationProtocol.

class NotificationEvent(Structure)

NotificationClient

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

async def process_notification_event(event: NotificationEvent) -> None
Calls method 1 on the server.

NotificationServer

def __init__()
Creates a new NotificationServer.

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

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

NotificationEvent

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

The following fields are defined in this class:
pid: int
type: int
param1: int = 0
param2: int = 0
text: str = ""
If nex.version >= 30500:
param3: int = 0

If nex.version >= 40000:
If revision >= 1:
map: dict[str, object] = {}