Documentation ¶
Overview ¶
Package protocol implements the Nintendo Badge Arcade DataStore protocol
Package protocol implements the Nintendo Badge Arcade DataStore protocol
Index ¶
Constants ¶
View Source
const ( // ProtocolID is the Protocol ID for the DataStore (Nintendo Badge Arcade) protocol. ID is the same as the DataStore protocol ProtocolID = 0x73 // MethodGetMetaByOwnerID is the method ID for GetMetaByOwnerID MethodGetMetaByOwnerID = 0x2D )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶ added in v1.0.45
Protocol stores all the RMC method handlers for the DataStore (Nintendo Badge Arcade) protocol and listens for requests Embeds the DataStore protocol
func NewProtocol ¶ added in v1.0.45
NewProtocol returns a new DataStore (Nintendo Badge Arcade) protocol
func (*Protocol) GetMetaByOwnerID ¶ added in v1.0.45
func (protocol *Protocol) GetMetaByOwnerID(handler func(err error, packet nex.PacketInterface, callID uint32, param *datastore_nintendo_badge_arcade_types.DataStoreGetMetaByOwnerIDParam) uint32)
GetMetaByOwnerID sets the GetMetaByOwnerID function
func (*Protocol) HandlePacket ¶ added in v1.0.45
func (protocol *Protocol) HandlePacket(packet nex.PacketInterface)
HandlePacket sends the packet to the correct RMC method handler
Click to show internal directories.
Click to hide internal directories.