Documentation ¶
Overview ¶
Package protocol implements the Service Item protocol
Index ¶
Constants ¶
View Source
const (
// ProtocolID is the Protocol ID for the Service Item protocol
ProtocolID = 0x77
)
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 Service Item 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 ServiceItemTeamKirbyClashDeluxe protocol
|
Package protocol implements the ServiceItemTeamKirbyClashDeluxe protocol |
types
Package types implements all the types used by the ServiceItem protocol
|
Package types implements all the types used by the ServiceItem protocol |
Package protocol implements the ServiceItemWiiSportsClub protocol
|
Package protocol implements the ServiceItemWiiSportsClub protocol |
types
Package types implements all the types used by the ServiceItem protocol
|
Package types implements all the types used by the ServiceItem protocol |
Click to show internal directories.
Click to hide internal directories.