Documentation ¶
Overview ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol ¶
Package protocol implements the MatchmakeExtensionSuperSmashBros4 protocol
Index ¶
Constants ¶
View Source
const ( // ProtocolID is the Protocol ID for the Matchmake Extension (Super Smash Bros. 4) protocol ProtocolID = 0x6D // MethodGetTournament is the method ID for the GetTournament method MethodGetTournament = 0x24 // MethodGetTournamentReplayID is the method ID for the GetTournamentReplayID method MethodGetTournamentReplayID = 0x25 // MethodGetTournamentResult is the method ID for the GetTournamentResult method MethodGetTournamentResult = 0x26 // MethodSetTournamentReplayID is the method ID for the SetTournamentReplayID method MethodSetTournamentReplayID = 0x27 // MethodGetTournamentProfiles is the method ID for the GetTournamentProfiles method MethodGetTournamentProfiles = 0x28 // MethodJoinOrCreateMatchmakeSession is the method ID for the JoinOrCreateMatchmakeSession method MethodJoinOrCreateMatchmakeSession = 0x29 // MethodRegisterTournamentPlayerInfo is the method ID for the RegisterTournamentPlayerInfo method MethodRegisterTournamentPlayerInfo = 0x2A // MethodRegisterTournamentBot is the method ID for the RegisterTournamentBot method MethodRegisterTournamentBot = 0x2B // MethodReportTournamentBotRoundResult is the method ID for the ReportTournamentBotRoundResult method MethodReportTournamentBotRoundResult = 0x2C // MethodReplaceTournamentLeafNode is the method ID for the ReplaceTournamentLeafNode method MethodReplaceTournamentLeafNode = 0x2D // MethodStartTournament is the method ID for the StartTournament method MethodStartTournament = 0x2E // MethodAutoTournamentMatchmake is the method ID for the AutoTournamentMatchmake method MethodAutoTournamentMatchmake = 0x2F // MethodSimpleFindByID is the method ID for the SimpleFindByID method MethodSimpleFindByID = 0x30 // MethodGetTournamentCompetitions is the method ID for the GetTournamentCompetitions method MethodGetTournamentCompetitions = 0x31 // MethodGetTournamentCompetition is the method ID for the GetTournamentCompetition method MethodGetTournamentCompetition = 0x32 // MethodGetTournamentReplayIDs is the method ID for the GetTournamentReplayIDs method MethodGetTournamentReplayIDs = 0x33 // MethodRegisterCommunityCompetition is the method ID for the RegisterCommunityCompetition method MethodRegisterCommunityCompetition = 0x34 // MethodUnregisterCommunityCompetition is the method ID for the UnregisterCommunityCompetition method MethodUnregisterCommunityCompetition = 0x35 // MethodUnregisterCommunityCompetitionByID is the method ID for the UnregisterCommunityCompetitionByID method MethodUnregisterCommunityCompetitionByID = 0x36 // MethodGetCommunityCompetitions is the method ID for the GetCommunityCompetitions method MethodGetCommunityCompetitions = 0x37 // MethodGetCommunityCompetitionByID is the method ID for the GetCommunityCompetitionByID method MethodGetCommunityCompetitionByID = 0x38 // MethodFindCommunityCompetitionsByParticipant is the method ID for the FindCommunityCompetitionsByParticipant method MethodFindCommunityCompetitionsByParticipant = 0x39 // MethodFindCommunityCompetitionsByGatheringID is the method ID for the FindCommunityCompetitionsByGatheringID method MethodFindCommunityCompetitionsByGatheringID = 0x3A // MethodSelectCommunityCompetitionByOwner is the method ID for the SelectCommunityCompetitionByOwner method MethodSelectCommunityCompetitionByOwner = 0x3B // MethodJoinCommunityCompetition is the method ID for the JoinCommunityCompetition method MethodJoinCommunityCompetition = 0x3C // MethodJoinCommunityCompetitionByGatheringID is the method ID for the JoinCommunityCompetitionByGatheringID method MethodJoinCommunityCompetitionByGatheringID = 0x3D // MethodEndCommunityCompetitionParticipation is the method ID for the EndCommunityCompetitionParticipation method MethodEndCommunityCompetitionParticipation = 0x3E // MethodEndCommunityCompetitionParticipationByGatheringID is the method ID for the EndCommunityCompetitionParticipationByGatheringID method MethodEndCommunityCompetitionParticipationByGatheringID = 0x3F // MethodSearchCommunityCompetition is the method ID for the SearchCommunityCompetition method MethodSearchCommunityCompetition = 0x40 // MethodPostCommunityCompetitionMatchResult is the method ID for the PostCommunityCompetitionMatchResult method MethodPostCommunityCompetitionMatchResult = 0x41 // MethodGetCommunityCompetitionRanking is the method ID for the GetCommunityCompetitionRanking method MethodGetCommunityCompetitionRanking = 0x42 // MethodDebugRegisterCommunityCompetition is the method ID for the DebugRegisterCommunityCompetition method MethodDebugRegisterCommunityCompetition = 0x43 // MethodDebugUnregisterCommunityCompetition is the method ID for the DebugUnregisterCommunityCompetition method MethodDebugUnregisterCommunityCompetition = 0x44 // MethodDebugJoinCommunityCompetition is the method ID for the DebugJoinCommunityCompetition method MethodDebugJoinCommunityCompetition = 0x45 // MethodDebugEndCommunityCompetitionParticipation is the method ID for the DebugEndCommunityCompetitionParticipation method MethodDebugEndCommunityCompetitionParticipation = 0x46 // MethodDebugPostCommunityCompetitionMatchResult is the method ID for the DebugPostCommunityCompetitionMatchResult method MethodDebugPostCommunityCompetitionMatchResult = 0x47 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct { GetTournament func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetTournamentReplayID func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetTournamentResult func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) SetTournamentReplayID func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetTournamentProfiles func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) JoinOrCreateMatchmakeSession func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) RegisterTournamentPlayerInfo func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) RegisterTournamentBot func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) ReportTournamentBotRoundResult func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) ReplaceTournamentLeafNode func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) StartTournament func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) AutoTournamentMatchmake func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) SimpleFindByID func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetTournamentCompetitions func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetTournamentCompetition func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetTournamentReplayIDs func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) RegisterCommunityCompetition func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) UnregisterCommunityCompetition func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) UnregisterCommunityCompetitionByID func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetCommunityCompetitions func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetCommunityCompetitionByID func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) FindCommunityCompetitionsByParticipant func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) FindCommunityCompetitionsByGatheringID func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) SelectCommunityCompetitionByOwner func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) JoinCommunityCompetition func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) JoinCommunityCompetitionByGatheringID func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) EndCommunityCompetitionParticipation func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) EndCommunityCompetitionParticipationByGatheringID func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) SearchCommunityCompetition func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) PostCommunityCompetitionMatchResult func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) GetCommunityCompetitionRanking func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) DebugRegisterCommunityCompetition func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) DebugUnregisterCommunityCompetition func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) DebugJoinCommunityCompetition func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) DebugEndCommunityCompetitionParticipation func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) DebugPostCommunityCompetitionMatchResult func(err error, packet nex.PacketInterface, callID uint32, packetPayload []byte) (*nex.RMCMessage, *nex.Error) // contains filtered or unexported fields }
Protocol stores all the RMC method handlers for the Matchmake Extension (Super Smash Bros. 4) protocol and listens for requests Embeds the Matchmake Extension protocol
func NewProtocol ¶
func NewProtocol(endpoint nex.EndpointInterface) *Protocol
NewProtocol returns a new MatchmakeExtensionSuperSmashBros4 protocol
func (*Protocol) HandlePacket ¶
func (protocol *Protocol) HandlePacket(packet nex.PacketInterface)
HandlePacket sends the packet to the correct RMC method handler
Source Files ¶
- auto_tournament_matchmake.go
- debug_end_community_competition_participation.go
- debug_join_community_competition.go
- debug_post_community_competition_match_result.go
- debug_register_community_competition.go
- debug_unregister_community_competition.go
- end_community_competition_participation.go
- end_community_competition_participation_by_gathering_id.go
- find_community_competitions_by_gathering_id.go
- find_community_competitions_by_participant.go
- get_community_competition_by_id.go
- get_community_competition_ranking.go
- get_community_competitions.go
- get_tournament.go
- get_tournament_competition.go
- get_tournament_competitions.go
- get_tournament_profiles.go
- get_tournament_replay_id.go
- get_tournament_replay_ids.go
- get_tournament_result.go
- join_community_competition.go
- join_community_competition_by_gathering_id.go
- join_or_create_matchmake_session.go
- post_community_competition_match_result.go
- protocol.go
- register_community_competition.go
- register_tournament_bot.go
- register_tournament_player_info.go
- replace_tournament_leaf_node.go
- report_tournament_bot_round_result.go
- search_community_competition.go
- select_community_competition_by_owner.go
- set_tournament_replay_id.go
- simple_find_by_i_d.go
- start_tournament.go
- unregister_community_competition.go
- unregister_community_competition_by_id.go
Click to show internal directories.
Click to hide internal directories.