Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonProtocol ¶
type CommonProtocol struct { CreateReportDBRecord func(pid types.PID, reportID types.UInt32, reportData types.QBuffer) error ValidateLoginData func(pid types.PID, loginData types.DataHolder) *nex.Error OnAfterRegister func(packet nex.PacketInterface, vecMyURLs types.List[types.StationURL]) OnAfterRequestURLs func(packet nex.PacketInterface, cidTarget types.UInt32, pidTarget types.PID) OnAfterRegisterEx func(packet nex.PacketInterface, vecMyURLs types.List[types.StationURL], hCustomData types.DataHolder) OnAfterReplaceURL func(packet nex.PacketInterface, target types.StationURL, url types.StationURL) OnAfterSendReport func(packet nex.PacketInterface, reportID types.UInt32, reportData types.QBuffer) // contains filtered or unexported fields }
func NewCommonProtocol ¶
func NewCommonProtocol(protocol secure_connection.Interface) *CommonProtocol
NewCommonProtocol returns a new CommonProtocol
func (*CommonProtocol) DisableInsecureRegister ¶ added in v2.4.0
func (commonProtocol *CommonProtocol) DisableInsecureRegister()
DisableInsecureRegister disables the insecure Register method
func (*CommonProtocol) EnableInsecureRegister ¶ added in v2.4.0
func (commonProtocol *CommonProtocol) EnableInsecureRegister()
EnableInsecureRegister enables the insecure Register method. Do not enable this on NEX 1 games
func (*CommonProtocol) SetPretendoValidation ¶ added in v2.4.0
func (commonProtocol *CommonProtocol) SetPretendoValidation(aesKey []byte)
SetPretendoValidation configures the protocol to use Pretendo validation
Click to show internal directories.
Click to hide internal directories.