Documentation ¶
Overview ¶
Package protocol implements the Matchmake Extension protocol
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake tension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol ¶
Package protocol implements the Matchmake Extension protocol
Index ¶
- Constants
- type Interface
- type Protocol
- func (protocol *Protocol) Endpoint() nex.EndpointInterface
- func (protocol *Protocol) HandlePacket(packet nex.PacketInterface)
- func (protocol *Protocol) SetEndpoint(endpoint nex.EndpointInterface)
- func (protocol *Protocol) SetHandlerAddToBlockList(...)
- func (protocol *Protocol) SetHandlerAutoMatchmakePostpone(...)
- func (protocol *Protocol) SetHandlerAutoMatchmakeWithGatheringIDPostpone(...)
- func (protocol *Protocol) SetHandlerAutoMatchmakeWithParamPostpone(...)
- func (protocol *Protocol) SetHandlerAutoMatchmakeWithSearchCriteriaPostpone(...)
- func (protocol *Protocol) SetHandlerBrowseMatchmakeSession(...)
- func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionNoHolder(...)
- func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionNoHolderNoResultRange(...)
- func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLs(...)
- func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolder(...)
- func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange(...)
- func (protocol *Protocol) SetHandlerClearMatchmakeSessionSystemPassword(...)
- func (protocol *Protocol) SetHandlerClearMyBlockList(...)
- func (protocol *Protocol) SetHandlerCloseParticipation(...)
- func (protocol *Protocol) SetHandlerCreateCommunity(...)
- func (protocol *Protocol) SetHandlerCreateMatchmakeSession(...)
- func (protocol *Protocol) SetHandlerCreateMatchmakeSessionWithParam(...)
- func (protocol *Protocol) SetHandlerDebugNotifyEvent(...)
- func (protocol *Protocol) SetHandlerFindCommunityByGatheringID(...)
- func (protocol *Protocol) SetHandlerFindCommunityByOwner(...)
- func (protocol *Protocol) SetHandlerFindCommunityByParticipant(...)
- func (protocol *Protocol) SetHandlerFindMatchmakeSessionByGatheringID(...)
- func (protocol *Protocol) SetHandlerFindMatchmakeSessionByGatheringIDDetail(...)
- func (protocol *Protocol) SetHandlerFindMatchmakeSessionByOwner(...)
- func (protocol *Protocol) SetHandlerFindMatchmakeSessionByParticipant(...)
- func (protocol *Protocol) SetHandlerFindMatchmakeSessionBySingleGatheringID(...)
- func (protocol *Protocol) SetHandlerFindOfficialCommunity(...)
- func (protocol *Protocol) SetHandlerGenerateMatchmakeSessionSystemPassword(...)
- func (protocol *Protocol) SetHandlerGetFriendNotificationData(...)
- func (protocol *Protocol) SetHandlerGetMyBlockList(...)
- func (protocol *Protocol) SetHandlerGetPlayingSession(...)
- func (protocol *Protocol) SetHandlerGetSimpleCommunity(...)
- func (protocol *Protocol) SetHandlerGetSimplePlayingSession(...)
- func (protocol *Protocol) SetHandlerGetlstFriendNotificationData(...)
- func (protocol *Protocol) SetHandlerIsViolationUser(...)
- func (protocol *Protocol) SetHandlerJoinCommunity(...)
- func (protocol *Protocol) SetHandlerJoinMatchmakeSession(...)
- func (protocol *Protocol) SetHandlerJoinMatchmakeSessionEx(...)
- func (protocol *Protocol) SetHandlerJoinMatchmakeSessionWithParam(...)
- func (protocol *Protocol) SetHandlerModifyCurrentGameAttribute(...)
- func (protocol *Protocol) SetHandlerOpenParticipation(...)
- func (protocol *Protocol) SetHandlerRemoveFromBlockList(...)
- func (protocol *Protocol) SetHandlerReportViolation(...)
- func (protocol *Protocol) SetHandlerRequestMatchmaking(...)
- func (protocol *Protocol) SetHandlerUpdateApplicationBuffer(...)
- func (protocol *Protocol) SetHandlerUpdateCommunity(...)
- func (protocol *Protocol) SetHandlerUpdateMatchmakeSession(...)
- func (protocol *Protocol) SetHandlerUpdateMatchmakeSessionAttribute(...)
- func (protocol *Protocol) SetHandlerUpdateMatchmakeSessionPart(...)
- func (protocol *Protocol) SetHandlerUpdateNotificationData(...)
- func (protocol *Protocol) SetHandlerUpdatePrivacySetting(...)
- func (protocol *Protocol) SetHandlerUpdateProgressScore(...)
- func (protocol *Protocol) SetHandlerWithdrawMatchmaking(...)
- func (protocol *Protocol) SetHandlerWithdrawMatchmakingAll(...)
Constants ¶
const ( // ProtocolID is the protocol ID for the Matchmake Extension protocol ProtocolID = 0x6D // MethodCloseParticipation is the method ID for method CloseParticipation MethodCloseParticipation = 0x1 // MethodOpenParticipation is the method ID for method OpenParticipation MethodOpenParticipation = 0x2 // MethodAutoMatchmakePostpone is the method ID for method AutoMatchmakePostpone MethodAutoMatchmakePostpone = 0x3 // MethodBrowseMatchmakeSession is the method ID for method BrowseMatchmakeSession MethodBrowseMatchmakeSession = 0x4 // MethodBrowseMatchmakeSessionWithHostURLs is the method ID for method BrowseMatchmakeSessionWithHostURLs MethodBrowseMatchmakeSessionWithHostURLs = 0x5 // MethodCreateMatchmakeSession is the method ID for method CreateMatchmakeSession MethodCreateMatchmakeSession = 0x6 // MethodJoinMatchmakeSession is the method ID for method JoinMatchmakeSession MethodJoinMatchmakeSession = 0x7 // MethodModifyCurrentGameAttribute is the method ID for method ModifyCurrentGameAttribute MethodModifyCurrentGameAttribute = 0x8 // MethodUpdateNotificationData is the method ID for method UpdateNotificationData MethodUpdateNotificationData = 0x9 // MethodGetFriendNotificationData is the method ID for method GetFriendNotificationData MethodGetFriendNotificationData = 0xA // MethodUpdateApplicationBuffer is the method ID for method UpdateApplicationBuffer MethodUpdateApplicationBuffer = 0xB // MethodUpdateMatchmakeSessionAttribute is the method ID for method UpdateMatchmakeSessionAttribute MethodUpdateMatchmakeSessionAttribute = 0xC // MethodGetlstFriendNotificationData is the method ID for method GetlstFriendNotificationData MethodGetlstFriendNotificationData = 0xD // MethodUpdateMatchmakeSession is the method ID for method UpdateMatchmakeSession MethodUpdateMatchmakeSession = 0xE // MethodAutoMatchmakeWithSearchCriteriaPostpone is the method ID for method AutoMatchmakeWithSearchCriteriaPostpone MethodAutoMatchmakeWithSearchCriteriaPostpone = 0xF // MethodGetPlayingSession is the method ID for method GetPlayingSession MethodGetPlayingSession = 0x10 // MethodCreateCommunity is the method ID for method CreateCommunity MethodCreateCommunity = 0x11 // MethodUpdateCommunity is the method ID for method UpdateCommunity MethodUpdateCommunity = 0x12 // MethodJoinCommunity is the method ID for method JoinCommunity MethodJoinCommunity = 0x13 // MethodFindCommunityByGatheringID is the method ID for method FindCommunityByGatheringID MethodFindCommunityByGatheringID = 0x14 // MethodFindOfficialCommunity is the method ID for method FindOfficialCommunity MethodFindOfficialCommunity = 0x15 // MethodFindCommunityByParticipant is the method ID for method FindCommunityByParticipant MethodFindCommunityByParticipant = 0x16 // MethodUpdatePrivacySetting is the method ID for method UpdatePrivacySetting MethodUpdatePrivacySetting = 0x17 // MethodGetMyBlockList is the method ID for method GetMyBlockList MethodGetMyBlockList = 0x18 // MethodAddToBlockList is the method ID for method AddToBlockList MethodAddToBlockList = 0x19 // MethodRemoveFromBlockList is the method ID for method RemoveFromBlockList MethodRemoveFromBlockList = 0x1A // MethodClearMyBlockList is the method ID for method ClearMyBlockList MethodClearMyBlockList = 0x1B // MethodReportViolation is the method ID for method ReportViolation MethodReportViolation = 0x1C // MethodIsViolationUser is the method ID for method IsViolationUser MethodIsViolationUser = 0x1D // MethodJoinMatchmakeSessionEx is the method ID for method JoinMatchmakeSessionEx MethodJoinMatchmakeSessionEx = 0x1E // MethodGetSimplePlayingSession is the method ID for method GetSimplePlayingSession MethodGetSimplePlayingSession = 0x1F // MethodGetSimpleCommunity is the method ID for method GetSimpleCommunity MethodGetSimpleCommunity = 0x20 // MethodAutoMatchmakeWithGatheringIDPostpone is the method ID for method AutoMatchmakeWithGatheringIDPostpone MethodAutoMatchmakeWithGatheringIDPostpone = 0x21 // MethodUpdateProgressScore is the method ID for method UpdateProgressScore MethodUpdateProgressScore = 0x22 // MethodDebugNotifyEvent is the method ID for method DebugNotifyEvent MethodDebugNotifyEvent = 0x23 // MethodGenerateMatchmakeSessionSystemPassword is the method ID for method GenerateMatchmakeSessionSystemPassword MethodGenerateMatchmakeSessionSystemPassword = 0x24 // MethodClearMatchmakeSessionSystemPassword is the method ID for method ClearMatchmakeSessionSystemPassword MethodClearMatchmakeSessionSystemPassword = 0x25 // MethodCreateMatchmakeSessionWithParam is the method ID for method CreateMatchmakeSessionWithParam MethodCreateMatchmakeSessionWithParam = 0x26 // MethodJoinMatchmakeSessionWithParam is the method ID for method JoinMatchmakeSessionWithParam MethodJoinMatchmakeSessionWithParam = 0x27 // MethodAutoMatchmakeWithParamPostpone is the method ID for method AutoMatchmakeWithParamPostpone MethodAutoMatchmakeWithParamPostpone = 0x28 // MethodFindMatchmakeSessionByGatheringIDDetail is the method ID for method FindMatchmakeSessionByGatheringIDDetail MethodFindMatchmakeSessionByGatheringIDDetail = 0x29 // MethodBrowseMatchmakeSessionNoHolder is the method ID for method BrowseMatchmakeSessionNoHolder MethodBrowseMatchmakeSessionNoHolder = 0x2A // MethodBrowseMatchmakeSessionWithHostURLsNoHolder is the method ID for method BrowseMatchmakeSessionWithHostURLsNoHolder MethodBrowseMatchmakeSessionWithHostURLsNoHolder = 0x2B // MethodUpdateMatchmakeSessionPart is the method ID for method UpdateMatchmakeSessionPart MethodUpdateMatchmakeSessionPart = 0x2C // MethodRequestMatchmaking is the method ID for method RequestMatchmaking MethodRequestMatchmaking = 0x2D // MethodWithdrawMatchmaking is the method ID for method WithdrawMatchmaking MethodWithdrawMatchmaking = 0x2E // MethodWithdrawMatchmakingAll is the method ID for method WithdrawMatchmakingAll MethodWithdrawMatchmakingAll = 0x2F // MethodFindMatchmakeSessionByGatheringID is the method ID for method FindMatchmakeSessionByGatheringID MethodFindMatchmakeSessionByGatheringID = 0x30 // MethodFindMatchmakeSessionBySingleGatheringID is the method ID for method FindMatchmakeSessionBySingleGatheringID MethodFindMatchmakeSessionBySingleGatheringID = 0x31 // MethodFindMatchmakeSessionByOwner is the method ID for method FindMatchmakeSessionByOwner MethodFindMatchmakeSessionByOwner = 0x32 // MethodFindMatchmakeSessionByParticipant is the method ID for method FindMatchmakeSessionByParticipant MethodFindMatchmakeSessionByParticipant = 0x33 // MethodBrowseMatchmakeSessionNoHolderNoResultRange is the method ID for method BrowseMatchmakeSessionNoHolderNoResultRange MethodBrowseMatchmakeSessionNoHolderNoResultRange = 0x34 // MethodBrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange is the method ID for method BrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange MethodBrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange = 0x35 // MethodFindCommunityByOwner is the method ID for method FindCommunityByOwner MethodFindCommunityByOwner = 0x36 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Endpoint() nex.EndpointInterface SetEndpoint(endpoint nex.EndpointInterface) SetHandlerCloseParticipation(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error)) SetHandlerOpenParticipation(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error)) SetHandlerAutoMatchmakePostpone(handler func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder, message *types.String) (*nex.RMCMessage, *nex.Error)) SetHandlerBrowseMatchmakeSession(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error)) SetHandlerBrowseMatchmakeSessionWithHostURLs(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error)) SetHandlerCreateMatchmakeSession(handler func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder, message *types.String, participationCount *types.PrimitiveU16) (*nex.RMCMessage, *nex.Error)) SetHandlerJoinMatchmakeSession(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String) (*nex.RMCMessage, *nex.Error)) SetHandlerModifyCurrentGameAttribute(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, attribIndex *types.PrimitiveU32, newValue *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error)) SetHandlerUpdateNotificationData(handler func(err error, packet nex.PacketInterface, callID uint32, uiType *types.PrimitiveU32, uiParam1 *types.PrimitiveU32, uiParam2 *types.PrimitiveU32, strParam *types.String) (*nex.RMCMessage, *nex.Error)) SetHandlerGetFriendNotificationData(handler func(err error, packet nex.PacketInterface, callID uint32, uiType *types.PrimitiveS32) (*nex.RMCMessage, *nex.Error)) SetHandlerUpdateApplicationBuffer(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, applicationBuffer *types.Buffer) (*nex.RMCMessage, *nex.Error)) SetHandlerUpdateMatchmakeSessionAttribute(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, attribs *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error)) SetHandlerGetlstFriendNotificationData(handler func(err error, packet nex.PacketInterface, callID uint32, lstTypes *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error)) SetHandlerUpdateMatchmakeSession(handler func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder) (*nex.RMCMessage, *nex.Error)) SetHandlerAutoMatchmakeWithSearchCriteriaPostpone(handler func(err error, packet nex.PacketInterface, callID uint32, lstSearchCriteria *types.List[*match_making_types.MatchmakeSessionSearchCriteria], anyGathering *types.AnyDataHolder, strMessage *types.String) (*nex.RMCMessage, *nex.Error)) SetHandlerGetPlayingSession(handler func(err error, packet nex.PacketInterface, callID uint32, lstPID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error)) SetHandlerCreateCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, community *match_making_types.PersistentGathering, strMessage *types.String) (*nex.RMCMessage, *nex.Error)) SetHandlerUpdateCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, community *match_making_types.PersistentGathering) (*nex.RMCMessage, *nex.Error)) SetHandlerJoinCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String, strPassword *types.String) (*nex.RMCMessage, *nex.Error)) SetHandlerFindCommunityByGatheringID(handler func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error)) SetHandlerFindOfficialCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, isAvailableOnly *types.PrimitiveBool, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error)) SetHandlerFindCommunityByParticipant(handler func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error)) SetHandlerUpdatePrivacySetting(handler func(err error, packet nex.PacketInterface, callID uint32, onlineStatus *types.PrimitiveBool, participationCommunity *types.PrimitiveBool) (*nex.RMCMessage, *nex.Error)) SetHandlerGetMyBlockList(handler func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error)) SetHandlerAddToBlockList(handler func(err error, packet nex.PacketInterface, callID uint32, lstPrincipalID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error)) SetHandlerRemoveFromBlockList(handler func(err error, packet nex.PacketInterface, callID uint32, lstPrincipalID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error)) SetHandlerClearMyBlockList(handler func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error)) SetHandlerReportViolation(handler func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, userName *types.String, violationCode *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error)) SetHandlerIsViolationUser(handler func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error)) SetHandlerJoinMatchmakeSessionEx(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String, dontCareMyBlockList *types.PrimitiveBool, participationCount *types.PrimitiveU16) (*nex.RMCMessage, *nex.Error)) SetHandlerGetSimplePlayingSession(handler func(err error, packet nex.PacketInterface, callID uint32, listPID *types.List[*types.PID], includeLoginUser *types.PrimitiveBool) (*nex.RMCMessage, *nex.Error)) SetHandlerGetSimpleCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, gatheringIDList *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error)) SetHandlerAutoMatchmakeWithGatheringIDPostpone(handler func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32], anyGathering *types.AnyDataHolder, strMessage *types.String) (*nex.RMCMessage, *nex.Error)) SetHandlerUpdateProgressScore(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, progressScore *types.PrimitiveU8) (*nex.RMCMessage, *nex.Error)) SetHandlerDebugNotifyEvent(handler func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, mainType *types.PrimitiveU32, subType *types.PrimitiveU32, param1 *types.PrimitiveU64, param2 *types.PrimitiveU64, stringParam *types.String) (*nex.RMCMessage, *nex.Error)) SetHandlerGenerateMatchmakeSessionSystemPassword(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error)) SetHandlerClearMatchmakeSessionSystemPassword(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error)) SetHandlerCreateMatchmakeSessionWithParam(handler func(err error, packet nex.PacketInterface, callID uint32, createMatchmakeSessionParam *match_making_types.CreateMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error)) SetHandlerJoinMatchmakeSessionWithParam(handler func(err error, packet nex.PacketInterface, callID uint32, joinMatchmakeSessionParam *match_making_types.JoinMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error)) SetHandlerAutoMatchmakeWithParamPostpone(handler func(err error, packet nex.PacketInterface, callID uint32, autoMatchmakeParam *match_making_types.AutoMatchmakeParam) (*nex.RMCMessage, *nex.Error)) SetHandlerFindMatchmakeSessionByGatheringIDDetail(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error)) SetHandlerBrowseMatchmakeSessionNoHolder(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error)) SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolder(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error)) SetHandlerUpdateMatchmakeSessionPart(handler func(err error, packet nex.PacketInterface, callID uint32, updateMatchmakeSessionParam *match_making_types.UpdateMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error)) SetHandlerRequestMatchmaking(handler func(err error, packet nex.PacketInterface, callID uint32, autoMatchmakeParam *match_making_types.AutoMatchmakeParam) (*nex.RMCMessage, *nex.Error)) SetHandlerWithdrawMatchmaking(handler func(err error, packet nex.PacketInterface, callID uint32, requestID *types.PrimitiveU64) (*nex.RMCMessage, *nex.Error)) SetHandlerWithdrawMatchmakingAll(handler func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error)) SetHandlerFindMatchmakeSessionByGatheringID(handler func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error)) SetHandlerFindMatchmakeSessionBySingleGatheringID(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error)) SetHandlerFindMatchmakeSessionByOwner(handler func(err error, packet nex.PacketInterface, callID uint32, id *types.PrimitiveU32, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error)) SetHandlerFindMatchmakeSessionByParticipant(handler func(err error, packet nex.PacketInterface, callID uint32, param *match_making_types.FindMatchmakeSessionByParticipantParam) (*nex.RMCMessage, *nex.Error)) SetHandlerBrowseMatchmakeSessionNoHolderNoResultRange(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria) (*nex.RMCMessage, *nex.Error)) SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria) (*nex.RMCMessage, *nex.Error)) SetHandlerFindCommunityByOwner(handler func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error)) }
Interface implements the methods present on the Matchmake Extension protocol struct
type Protocol ¶
type Protocol struct { CloseParticipation func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error) OpenParticipation func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error) AutoMatchmakePostpone func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder, message *types.String) (*nex.RMCMessage, *nex.Error) BrowseMatchmakeSession func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error) BrowseMatchmakeSessionWithHostURLs func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error) CreateMatchmakeSession func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder, message *types.String, participationCount *types.PrimitiveU16) (*nex.RMCMessage, *nex.Error) JoinMatchmakeSession func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String) (*nex.RMCMessage, *nex.Error) ModifyCurrentGameAttribute func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, attribIndex *types.PrimitiveU32, newValue *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error) UpdateNotificationData func(err error, packet nex.PacketInterface, callID uint32, uiType *types.PrimitiveU32, uiParam1 *types.PrimitiveU32, uiParam2 *types.PrimitiveU32, strParam *types.String) (*nex.RMCMessage, *nex.Error) GetFriendNotificationData func(err error, packet nex.PacketInterface, callID uint32, uiType *types.PrimitiveS32) (*nex.RMCMessage, *nex.Error) UpdateApplicationBuffer func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, applicationBuffer *types.Buffer) (*nex.RMCMessage, *nex.Error) UpdateMatchmakeSessionAttribute func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, attribs *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error) GetlstFriendNotificationData func(err error, packet nex.PacketInterface, callID uint32, lstTypes *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error) UpdateMatchmakeSession func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder) (*nex.RMCMessage, *nex.Error) AutoMatchmakeWithSearchCriteriaPostpone func(err error, packet nex.PacketInterface, callID uint32, lstSearchCriteria *types.List[*match_making_types.MatchmakeSessionSearchCriteria], anyGathering *types.AnyDataHolder, strMessage *types.String) (*nex.RMCMessage, *nex.Error) GetPlayingSession func(err error, packet nex.PacketInterface, callID uint32, lstPID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error) CreateCommunity func(err error, packet nex.PacketInterface, callID uint32, community *match_making_types.PersistentGathering, strMessage *types.String) (*nex.RMCMessage, *nex.Error) UpdateCommunity func(err error, packet nex.PacketInterface, callID uint32, community *match_making_types.PersistentGathering) (*nex.RMCMessage, *nex.Error) JoinCommunity func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String, strPassword *types.String) (*nex.RMCMessage, *nex.Error) FindCommunityByGatheringID func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error) FindOfficialCommunity func(err error, packet nex.PacketInterface, callID uint32, isAvailableOnly *types.PrimitiveBool, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error) FindCommunityByParticipant func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error) UpdatePrivacySetting func(err error, packet nex.PacketInterface, callID uint32, onlineStatus *types.PrimitiveBool, participationCommunity *types.PrimitiveBool) (*nex.RMCMessage, *nex.Error) GetMyBlockList func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error) AddToBlockList func(err error, packet nex.PacketInterface, callID uint32, lstPrincipalID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error) RemoveFromBlockList func(err error, packet nex.PacketInterface, callID uint32, lstPrincipalID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error) ClearMyBlockList func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error) ReportViolation func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, userName *types.String, violationCode *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error) IsViolationUser func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error) JoinMatchmakeSessionEx func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String, dontCareMyBlockList *types.PrimitiveBool, participationCount *types.PrimitiveU16) (*nex.RMCMessage, *nex.Error) GetSimplePlayingSession func(err error, packet nex.PacketInterface, callID uint32, listPID *types.List[*types.PID], includeLoginUser *types.PrimitiveBool) (*nex.RMCMessage, *nex.Error) GetSimpleCommunity func(err error, packet nex.PacketInterface, callID uint32, gatheringIDList *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error) AutoMatchmakeWithGatheringIDPostpone func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32], anyGathering *types.AnyDataHolder, strMessage *types.String) (*nex.RMCMessage, *nex.Error) UpdateProgressScore func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, progressScore *types.PrimitiveU8) (*nex.RMCMessage, *nex.Error) DebugNotifyEvent func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, mainType *types.PrimitiveU32, subType *types.PrimitiveU32, param1 *types.PrimitiveU64, param2 *types.PrimitiveU64, stringParam *types.String) (*nex.RMCMessage, *nex.Error) GenerateMatchmakeSessionSystemPassword func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error) ClearMatchmakeSessionSystemPassword func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error) CreateMatchmakeSessionWithParam func(err error, packet nex.PacketInterface, callID uint32, createMatchmakeSessionParam *match_making_types.CreateMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error) JoinMatchmakeSessionWithParam func(err error, packet nex.PacketInterface, callID uint32, joinMatchmakeSessionParam *match_making_types.JoinMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error) AutoMatchmakeWithParamPostpone func(err error, packet nex.PacketInterface, callID uint32, autoMatchmakeParam *match_making_types.AutoMatchmakeParam) (*nex.RMCMessage, *nex.Error) FindMatchmakeSessionByGatheringIDDetail func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error) BrowseMatchmakeSessionNoHolder func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error) BrowseMatchmakeSessionWithHostURLsNoHolder func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error) UpdateMatchmakeSessionPart func(err error, packet nex.PacketInterface, callID uint32, updateMatchmakeSessionParam *match_making_types.UpdateMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error) RequestMatchmaking func(err error, packet nex.PacketInterface, callID uint32, autoMatchmakeParam *match_making_types.AutoMatchmakeParam) (*nex.RMCMessage, *nex.Error) WithdrawMatchmaking func(err error, packet nex.PacketInterface, callID uint32, requestID *types.PrimitiveU64) (*nex.RMCMessage, *nex.Error) WithdrawMatchmakingAll func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error) FindMatchmakeSessionByGatheringID func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error) FindMatchmakeSessionBySingleGatheringID func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error) FindMatchmakeSessionByOwner func(err error, packet nex.PacketInterface, callID uint32, id *types.PrimitiveU32, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error) FindMatchmakeSessionByParticipant func(err error, packet nex.PacketInterface, callID uint32, param *match_making_types.FindMatchmakeSessionByParticipantParam) (*nex.RMCMessage, *nex.Error) BrowseMatchmakeSessionNoHolderNoResultRange func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria) (*nex.RMCMessage, *nex.Error) BrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria) (*nex.RMCMessage, *nex.Error) FindCommunityByOwner func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) // TODO - Unknown request/response format Patches nex.ServiceProtocol PatchedMethods []uint32 // contains filtered or unexported fields }
Protocol stores all the RMC method handlers for the Matchmake Extension protocol and listens for requests
func NewProtocol ¶
func NewProtocol() *Protocol
NewProtocol returns a new Matchmake Extension protocol
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
func (*Protocol) SetHandlerAddToBlockList ¶
func (protocol *Protocol) SetHandlerAddToBlockList(handler func(err error, packet nex.PacketInterface, callID uint32, lstPrincipalID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error))
SetHandlerAddToBlockList sets the handler for the AddToBlockList method
func (*Protocol) SetHandlerAutoMatchmakePostpone ¶
func (protocol *Protocol) SetHandlerAutoMatchmakePostpone(handler func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder, message *types.String) (*nex.RMCMessage, *nex.Error))
SetHandlerAutoMatchmakePostpone sets the handler for the AutoMatchmakePostpone method
func (*Protocol) SetHandlerAutoMatchmakeWithGatheringIDPostpone ¶
func (protocol *Protocol) SetHandlerAutoMatchmakeWithGatheringIDPostpone(handler func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32], anyGathering *types.AnyDataHolder, strMessage *types.String) (*nex.RMCMessage, *nex.Error))
SetHandlerAutoMatchmakeWithGatheringIDPostpone sets the handler for the AutoMatchmakeWithGatheringIDPostpone method
func (*Protocol) SetHandlerAutoMatchmakeWithParamPostpone ¶
func (protocol *Protocol) SetHandlerAutoMatchmakeWithParamPostpone(handler func(err error, packet nex.PacketInterface, callID uint32, autoMatchmakeParam *match_making_types.AutoMatchmakeParam) (*nex.RMCMessage, *nex.Error))
SetHandlerAutoMatchmakeWithParamPostpone sets the handler for the AutoMatchmakeWithParamPostpone method
func (*Protocol) SetHandlerAutoMatchmakeWithSearchCriteriaPostpone ¶
func (protocol *Protocol) SetHandlerAutoMatchmakeWithSearchCriteriaPostpone(handler func(err error, packet nex.PacketInterface, callID uint32, lstSearchCriteria *types.List[*match_making_types.MatchmakeSessionSearchCriteria], anyGathering *types.AnyDataHolder, strMessage *types.String) (*nex.RMCMessage, *nex.Error))
SetHandlerAutoMatchmakeWithSearchCriteriaPostpone sets the handler for the AutoMatchmakeWithSearchCriteriaPostpone method
func (*Protocol) SetHandlerBrowseMatchmakeSession ¶
func (protocol *Protocol) SetHandlerBrowseMatchmakeSession(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error))
SetHandlerBrowseMatchmakeSession sets the handler for the BrowseMatchmakeSession method
func (*Protocol) SetHandlerBrowseMatchmakeSessionNoHolder ¶
func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionNoHolder(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error))
SetHandlerBrowseMatchmakeSessionNoHolder sets the handler for the BrowseMatchmakeSessionNoHolder method
func (*Protocol) SetHandlerBrowseMatchmakeSessionNoHolderNoResultRange ¶
func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionNoHolderNoResultRange(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria) (*nex.RMCMessage, *nex.Error))
SetHandlerBrowseMatchmakeSessionNoHolderNoResultRange sets the handler for the BrowseMatchmakeSessionNoHolderNoResultRange method
func (*Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLs ¶
func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLs(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error))
SetHandlerBrowseMatchmakeSessionWithHostURLs sets the handler for the BrowseMatchmakeSessionWithHostURLs method
func (*Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolder ¶
func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolder(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error))
SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolder sets the handler for the BrowseMatchmakeSessionWithHostURLsNoHolder method
func (*Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange ¶
func (protocol *Protocol) SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange(handler func(err error, packet nex.PacketInterface, callID uint32, searchCriteria *match_making_types.MatchmakeSessionSearchCriteria) (*nex.RMCMessage, *nex.Error))
SetHandlerBrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange sets the handler for the BrowseMatchmakeSessionWithHostURLsNoHolderNoResultRange method
func (*Protocol) SetHandlerClearMatchmakeSessionSystemPassword ¶
func (protocol *Protocol) SetHandlerClearMatchmakeSessionSystemPassword(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error))
SetHandlerClearMatchmakeSessionSystemPassword sets the handler for the ClearMatchmakeSessionSystemPassword method
func (*Protocol) SetHandlerClearMyBlockList ¶
func (protocol *Protocol) SetHandlerClearMyBlockList(handler func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error))
SetHandlerClearMyBlockList sets the handler for the ClearMyBlockList method
func (*Protocol) SetHandlerCloseParticipation ¶
func (protocol *Protocol) SetHandlerCloseParticipation(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error))
SetHandlerCloseParticipation sets the handler for the CloseParticipation method
func (*Protocol) SetHandlerCreateCommunity ¶
func (protocol *Protocol) SetHandlerCreateCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, community *match_making_types.PersistentGathering, strMessage *types.String) (*nex.RMCMessage, *nex.Error))
SetHandlerCreateCommunity sets the handler for the CreateCommunity method
func (*Protocol) SetHandlerCreateMatchmakeSession ¶
func (protocol *Protocol) SetHandlerCreateMatchmakeSession(handler func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder, message *types.String, participationCount *types.PrimitiveU16) (*nex.RMCMessage, *nex.Error))
SetHandlerCreateMatchmakeSession sets the handler for the CreateMatchmakeSession method
func (*Protocol) SetHandlerCreateMatchmakeSessionWithParam ¶
func (protocol *Protocol) SetHandlerCreateMatchmakeSessionWithParam(handler func(err error, packet nex.PacketInterface, callID uint32, createMatchmakeSessionParam *match_making_types.CreateMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error))
SetHandlerCreateMatchmakeSessionWithParam sets the handler for the CreateMatchmakeSessionWithParam method
func (*Protocol) SetHandlerDebugNotifyEvent ¶
func (protocol *Protocol) SetHandlerDebugNotifyEvent(handler func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, mainType *types.PrimitiveU32, subType *types.PrimitiveU32, param1 *types.PrimitiveU64, param2 *types.PrimitiveU64, stringParam *types.String) (*nex.RMCMessage, *nex.Error))
SetHandlerDebugNotifyEvent sets the handler for the DebugNotifyEvent method
func (*Protocol) SetHandlerFindCommunityByGatheringID ¶
func (protocol *Protocol) SetHandlerFindCommunityByGatheringID(handler func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error))
SetHandlerFindCommunityByGatheringID sets the handler for the FindCommunityByGatheringID method
func (*Protocol) SetHandlerFindCommunityByOwner ¶
func (protocol *Protocol) SetHandlerFindCommunityByOwner(handler func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error))
SetHandlerFindCommunityByOwner sets the handler for the FindCommunityByOwner method
func (*Protocol) SetHandlerFindCommunityByParticipant ¶
func (protocol *Protocol) SetHandlerFindCommunityByParticipant(handler func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error))
SetHandlerFindCommunityByParticipant sets the handler for the FindCommunityByParticipant method
func (*Protocol) SetHandlerFindMatchmakeSessionByGatheringID ¶
func (protocol *Protocol) SetHandlerFindMatchmakeSessionByGatheringID(handler func(err error, packet nex.PacketInterface, callID uint32, lstGID *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error))
SetHandlerFindMatchmakeSessionByGatheringID sets the handler for the FindMatchmakeSessionByGatheringID method
func (*Protocol) SetHandlerFindMatchmakeSessionByGatheringIDDetail ¶
func (protocol *Protocol) SetHandlerFindMatchmakeSessionByGatheringIDDetail(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error))
SetHandlerFindMatchmakeSessionByGatheringIDDetail sets the handler for the FindMatchmakeSessionByGatheringIDDetail method
func (*Protocol) SetHandlerFindMatchmakeSessionByOwner ¶
func (protocol *Protocol) SetHandlerFindMatchmakeSessionByOwner(handler func(err error, packet nex.PacketInterface, callID uint32, id *types.PrimitiveU32, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error))
SetHandlerFindMatchmakeSessionByOwner sets the handler for the FindMatchmakeSessionByOwner method
func (*Protocol) SetHandlerFindMatchmakeSessionByParticipant ¶
func (protocol *Protocol) SetHandlerFindMatchmakeSessionByParticipant(handler func(err error, packet nex.PacketInterface, callID uint32, param *match_making_types.FindMatchmakeSessionByParticipantParam) (*nex.RMCMessage, *nex.Error))
SetHandlerFindMatchmakeSessionByParticipant sets the handler for the FindMatchmakeSessionByParticipant method
func (*Protocol) SetHandlerFindMatchmakeSessionBySingleGatheringID ¶
func (protocol *Protocol) SetHandlerFindMatchmakeSessionBySingleGatheringID(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error))
SetHandlerFindMatchmakeSessionBySingleGatheringID sets the handler for the FindMatchmakeSessionBySingleGatheringID method
func (*Protocol) SetHandlerFindOfficialCommunity ¶
func (protocol *Protocol) SetHandlerFindOfficialCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, isAvailableOnly *types.PrimitiveBool, resultRange *types.ResultRange) (*nex.RMCMessage, *nex.Error))
SetHandlerFindOfficialCommunity sets the handler for the FindOfficialCommunity method
func (*Protocol) SetHandlerGenerateMatchmakeSessionSystemPassword ¶
func (protocol *Protocol) SetHandlerGenerateMatchmakeSessionSystemPassword(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error))
SetHandlerGenerateMatchmakeSessionSystemPassword sets the handler for the GenerateMatchmakeSessionSystemPassword method
func (*Protocol) SetHandlerGetFriendNotificationData ¶
func (protocol *Protocol) SetHandlerGetFriendNotificationData(handler func(err error, packet nex.PacketInterface, callID uint32, uiType *types.PrimitiveS32) (*nex.RMCMessage, *nex.Error))
SetHandlerGetFriendNotificationData sets the handler for the GetFriendNotificationData method
func (*Protocol) SetHandlerGetMyBlockList ¶
func (protocol *Protocol) SetHandlerGetMyBlockList(handler func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error))
SetHandlerGetMyBlockList sets the handler for the GetMyBlockList method
func (*Protocol) SetHandlerGetPlayingSession ¶
func (protocol *Protocol) SetHandlerGetPlayingSession(handler func(err error, packet nex.PacketInterface, callID uint32, lstPID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error))
SetHandlerGetPlayingSession sets the handler for the GetPlayingSession method
func (*Protocol) SetHandlerGetSimpleCommunity ¶
func (protocol *Protocol) SetHandlerGetSimpleCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, gatheringIDList *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error))
SetHandlerGetSimpleCommunity sets the handler for the GetSimpleCommunity method
func (*Protocol) SetHandlerGetSimplePlayingSession ¶
func (protocol *Protocol) SetHandlerGetSimplePlayingSession(handler func(err error, packet nex.PacketInterface, callID uint32, listPID *types.List[*types.PID], includeLoginUser *types.PrimitiveBool) (*nex.RMCMessage, *nex.Error))
SetHandlerGetSimplePlayingSession sets the handler for the GetSimplePlayingSession method
func (*Protocol) SetHandlerGetlstFriendNotificationData ¶
func (protocol *Protocol) SetHandlerGetlstFriendNotificationData(handler func(err error, packet nex.PacketInterface, callID uint32, lstTypes *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error))
SetHandlerGetlstFriendNotificationData sets the handler for the GetlstFriendNotificationData method
func (*Protocol) SetHandlerIsViolationUser ¶
func (protocol *Protocol) SetHandlerIsViolationUser(handler func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error))
SetHandlerIsViolationUser sets the handler for the IsViolationUser method
func (*Protocol) SetHandlerJoinCommunity ¶
func (protocol *Protocol) SetHandlerJoinCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String, strPassword *types.String) (*nex.RMCMessage, *nex.Error))
SetHandlerJoinCommunity sets the handler for the JoinCommunity method
func (*Protocol) SetHandlerJoinMatchmakeSession ¶
func (protocol *Protocol) SetHandlerJoinMatchmakeSession(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String) (*nex.RMCMessage, *nex.Error))
SetHandlerJoinMatchmakeSession sets the handler for the JoinMatchmakeSession method
func (*Protocol) SetHandlerJoinMatchmakeSessionEx ¶
func (protocol *Protocol) SetHandlerJoinMatchmakeSessionEx(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, strMessage *types.String, dontCareMyBlockList *types.PrimitiveBool, participationCount *types.PrimitiveU16) (*nex.RMCMessage, *nex.Error))
SetHandlerJoinMatchmakeSessionEx sets the handler for the JoinMatchmakeSessionEx method
func (*Protocol) SetHandlerJoinMatchmakeSessionWithParam ¶
func (protocol *Protocol) SetHandlerJoinMatchmakeSessionWithParam(handler func(err error, packet nex.PacketInterface, callID uint32, joinMatchmakeSessionParam *match_making_types.JoinMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error))
SetHandlerJoinMatchmakeSessionWithParam sets the handler for the JoinMatchmakeSessionWithParam method
func (*Protocol) SetHandlerModifyCurrentGameAttribute ¶
func (protocol *Protocol) SetHandlerModifyCurrentGameAttribute(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, attribIndex *types.PrimitiveU32, newValue *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error))
SetHandlerModifyCurrentGameAttribute sets the handler for the ModifyCurrentGameAttribute method
func (*Protocol) SetHandlerOpenParticipation ¶
func (protocol *Protocol) SetHandlerOpenParticipation(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error))
SetHandlerOpenParticipation sets the handler for the OpenParticipation method
func (*Protocol) SetHandlerRemoveFromBlockList ¶
func (protocol *Protocol) SetHandlerRemoveFromBlockList(handler func(err error, packet nex.PacketInterface, callID uint32, lstPrincipalID *types.List[*types.PID]) (*nex.RMCMessage, *nex.Error))
SetHandlerRemoveFromBlockList sets the handler for the RemoveFromBlockList method
func (*Protocol) SetHandlerReportViolation ¶
func (protocol *Protocol) SetHandlerReportViolation(handler func(err error, packet nex.PacketInterface, callID uint32, pid *types.PID, userName *types.String, violationCode *types.PrimitiveU32) (*nex.RMCMessage, *nex.Error))
SetHandlerReportViolation sets the handler for the ReportViolation method
func (*Protocol) SetHandlerRequestMatchmaking ¶
func (protocol *Protocol) SetHandlerRequestMatchmaking(handler func(err error, packet nex.PacketInterface, callID uint32, autoMatchmakeParam *match_making_types.AutoMatchmakeParam) (*nex.RMCMessage, *nex.Error))
SetHandlerRequestMatchmaking sets the handler for the RequestMatchmaking method
func (*Protocol) SetHandlerUpdateApplicationBuffer ¶
func (protocol *Protocol) SetHandlerUpdateApplicationBuffer(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, applicationBuffer *types.Buffer) (*nex.RMCMessage, *nex.Error))
SetHandlerUpdateApplicationBuffer sets the handler for the UpdateApplicationBuffer method
func (*Protocol) SetHandlerUpdateCommunity ¶
func (protocol *Protocol) SetHandlerUpdateCommunity(handler func(err error, packet nex.PacketInterface, callID uint32, community *match_making_types.PersistentGathering) (*nex.RMCMessage, *nex.Error))
SetHandlerUpdateCommunity sets the handler for the UpdateCommunity method
func (*Protocol) SetHandlerUpdateMatchmakeSession ¶
func (protocol *Protocol) SetHandlerUpdateMatchmakeSession(handler func(err error, packet nex.PacketInterface, callID uint32, anyGathering *types.AnyDataHolder) (*nex.RMCMessage, *nex.Error))
SetHandlerUpdateMatchmakeSession sets the handler for the UpdateMatchmakeSession method
func (*Protocol) SetHandlerUpdateMatchmakeSessionAttribute ¶
func (protocol *Protocol) SetHandlerUpdateMatchmakeSessionAttribute(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, attribs *types.List[*types.PrimitiveU32]) (*nex.RMCMessage, *nex.Error))
SetHandlerUpdateMatchmakeSessionAttribute sets the handler for the UpdateMatchmakeSessionAttribute method
func (*Protocol) SetHandlerUpdateMatchmakeSessionPart ¶
func (protocol *Protocol) SetHandlerUpdateMatchmakeSessionPart(handler func(err error, packet nex.PacketInterface, callID uint32, updateMatchmakeSessionParam *match_making_types.UpdateMatchmakeSessionParam) (*nex.RMCMessage, *nex.Error))
SetHandlerUpdateMatchmakeSessionPart sets the handler for the UpdateMatchmakeSessionPart method
func (*Protocol) SetHandlerUpdateNotificationData ¶
func (protocol *Protocol) SetHandlerUpdateNotificationData(handler func(err error, packet nex.PacketInterface, callID uint32, uiType *types.PrimitiveU32, uiParam1 *types.PrimitiveU32, uiParam2 *types.PrimitiveU32, strParam *types.String) (*nex.RMCMessage, *nex.Error))
SetHandlerUpdateNotificationData sets the handler for the UpdateNotificationData method
func (*Protocol) SetHandlerUpdatePrivacySetting ¶
func (protocol *Protocol) SetHandlerUpdatePrivacySetting(handler func(err error, packet nex.PacketInterface, callID uint32, onlineStatus *types.PrimitiveBool, participationCommunity *types.PrimitiveBool) (*nex.RMCMessage, *nex.Error))
SetHandlerUpdatePrivacySetting sets the handler for the UpdatePrivacySetting method
func (*Protocol) SetHandlerUpdateProgressScore ¶
func (protocol *Protocol) SetHandlerUpdateProgressScore(handler func(err error, packet nex.PacketInterface, callID uint32, gid *types.PrimitiveU32, progressScore *types.PrimitiveU8) (*nex.RMCMessage, *nex.Error))
SetHandlerUpdateProgressScore sets the handler for the UpdateProgressScore method
func (*Protocol) SetHandlerWithdrawMatchmaking ¶
func (protocol *Protocol) SetHandlerWithdrawMatchmaking(handler func(err error, packet nex.PacketInterface, callID uint32, requestID *types.PrimitiveU64) (*nex.RMCMessage, *nex.Error))
SetHandlerWithdrawMatchmaking sets the handler for the WithdrawMatchmaking method
func (*Protocol) SetHandlerWithdrawMatchmakingAll ¶
func (protocol *Protocol) SetHandlerWithdrawMatchmakingAll(handler func(err error, packet nex.PacketInterface, callID uint32) (*nex.RMCMessage, *nex.Error))
SetHandlerWithdrawMatchmakingAll sets the handler for the WithdrawMatchmakingAll method
Source Files ¶
- add_to_block_list.go
- auto_matchmake_postpone.go
- auto_matchmake_with_gathering_id_postpone.go
- auto_matchmake_with_param_postpone.go
- auto_matchmake_with_search_criteria_postpone.go
- browse_matchmake_session.go
- browse_matchmake_session_no_holder.go
- browse_matchmake_session_no_holder_no_result_range.go
- browse_matchmake_session_with_host_urls.go
- browse_matchmake_session_with_host_urls_no_holder.go
- browse_matchmake_session_with_host_urls_no_holder_no_result_range.go
- clear_matchmake_session_system_password.go
- clear_my_block_list.go
- close_participation.go
- create_community.go
- create_matchmake_session.go
- create_matchmake_session_with_param.go
- debug_notify_event.go
- find_comminuty_by_owner.go
- find_community_by_gathering_id.go
- find_community_by_participant.go
- find_matchmake_session_by_gathering_id.go
- find_matchmake_session_by_gathering_id_detail.go
- find_matchmake_session_by_owner.go
- find_matchmake_session_by_participant.go
- find_matchmake_session_by_single_gathering_id.go
- find_official_community.go
- generate_matchmake_session_system_password.go
- get_friend_notification_data.go
- get_lst_friend_notification_data.go
- get_my_block_list.go
- get_playing_session.go
- get_simple_community.go
- get_simple_playing_session.go
- is_violation_user.go
- join_community.go
- join_matchmake_session.go
- join_matchmake_session_ex.go
- join_matchmake_session_with_param.go
- modify_current_game_attribute.go
- open_participation.go
- protocol.go
- remove_from_block_list.go
- report_violation.go
- request_matchmaking.go
- update_application_buffer.go
- update_community.go
- update_matchmake_session.go
- update_matchmake_session_attribute.go
- update_matchmake_session_part.go
- update_notification_data.go
- update_privacy_setting.go
- update_progress_score.go
- withdraw_matchmaking.go
- withdraw_matchmaking_all.go
Directories ¶
Path | Synopsis |
---|---|
Package protocol implements the MatchmakeExtensionMarioKart8 protocol
|
Package protocol implements the MatchmakeExtensionMarioKart8 protocol |
types
Package types implements all the types used by the MatchmakeExtension protocol
|
Package types implements all the types used by the MatchmakeExtension protocol |
Package protocol implements the MatchmakeExtensionMonsterHunterXX protocol
|
Package protocol implements the MatchmakeExtensionMonsterHunterXX protocol |
types
Package types implements all the types used by the MatchmakeExtension protocol
|
Package types implements all the types used by the MatchmakeExtension protocol |
Package protocol implements the Pokemon GEN 6 Matchmake Extension protocol
|
Package protocol implements the Pokemon GEN 6 Matchmake Extension protocol |
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol
|
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol |