Documentation ¶
Overview ¶
Package protocol implements the Shop protocol
Index ¶
Constants ¶
View Source
const (
// ProtocolID is the Protocol ID for the Shop protocol
ProtocolID = 0xC8
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct { Patches nex.ServiceProtocol PatchedMethods []uint32 // contains filtered or unexported fields }
Protocol stores all the RMC method handlers for the Shop protocol and listens for requests
func (*Protocol) Endpoint ¶
func (protocol *Protocol) Endpoint() nex.EndpointInterface
Endpoint returns the endpoint implementing the protocol
func (*Protocol) HandlePacket ¶
func (protocol *Protocol) HandlePacket(packet nex.PacketInterface)
HandlePacket sends the packet to the correct RMC method handler
func (*Protocol) SetEndpoint ¶
func (protocol *Protocol) SetEndpoint(endpoint nex.EndpointInterface)
SetEndpoint sets the endpoint implementing the protocol
Directories ¶
Path | Synopsis |
---|---|
Package protocol implements the Nintendo Badge Arcade Shop protocol
|
Package protocol implements the Nintendo Badge Arcade Shop protocol |
types
Package types implements all the types used by the ShopNintendoBadgeArcade protocol
|
Package types implements all the types used by the ShopNintendoBadgeArcade protocol |
Package types implements all the types used by the Shop protocol
|
Package types implements all the types used by the Shop protocol |
Click to show internal directories.
Click to hide internal directories.