Documentation
¶
Overview ¶
Package protocol implements the AAUser protocol
Package protocol implements the AAUser protocol ¶
Package protocol implements the AAUser protocol ¶
Package protocol implements the AAUser protocol ¶
Package protocol implements the AAUser protocol
Index ¶
- Constants
- type Protocol
- func (protocol *Protocol) GetApplicationInfo(handler func(err error, packet nex.PacketInterface, callID uint32) uint32)
- func (protocol *Protocol) RegisterApplication(...)
- func (protocol *Protocol) SetApplicationInfo(handler func(err error, packet nex.PacketInterface, callID uint32, ...) uint32)
- func (protocol *Protocol) Setup()
- func (protocol *Protocol) UnregisterApplication(...)
Constants ¶
View Source
const ( // ProtocolID is the protocol ID for the AAUser protocol ProtocolID = 0x7B // MethodRegisterApplication is the method ID for the method RegisterApplication MethodRegisterApplication = 0x1 // MethodUnregisterApplication is the method ID for the method UnregisterApplication MethodUnregisterApplication = 0x2 // MethodSetApplicationInfo is the method ID for the method RegisterApplication MethodSetApplicationInfo = 0x3 // MethodGetApplicationInfo is the method ID for the method GetApplicationInfo MethodGetApplicationInfo = 0x4 )
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 AAUser protocol and listens for requests
func NewProtocol ¶ added in v1.0.45
NewProtocol returns a new AAUser protocol
func (*Protocol) GetApplicationInfo ¶ added in v1.0.45
func (protocol *Protocol) GetApplicationInfo(handler func(err error, packet nex.PacketInterface, callID uint32) uint32)
GetApplicationInfo sets the GetApplicationInfo handler function
func (*Protocol) RegisterApplication ¶ added in v1.0.45
func (protocol *Protocol) RegisterApplication(handler func(err error, packet nex.PacketInterface, callID uint32, titleID uint64) uint32)
RegisterApplication sets the RegisterApplication handler function
func (*Protocol) SetApplicationInfo ¶ added in v1.0.45
func (protocol *Protocol) SetApplicationInfo(handler func(err error, packet nex.PacketInterface, callID uint32, applicationInfo []*aauser_types.ApplicationInfo) uint32)
SetApplicationInfo sets the SetApplicationInfo handler function
func (*Protocol) Setup ¶ added in v1.0.45
func (protocol *Protocol) Setup()
Setup initializes the protocol
func (*Protocol) UnregisterApplication ¶ added in v1.0.45
func (protocol *Protocol) UnregisterApplication(handler func(err error, packet nex.PacketInterface, callID uint32, titleID uint64) uint32)
UnregisterApplication sets the UnregisterApplication handler function
Source Files
¶
Click to show internal directories.
Click to hide internal directories.