wiiu-chat-secure/nex/matchmake-extension/open_participation.go
2025-02-21 09:56:13 -08:00

21 lines
692 B
Go

package nex_matchmake_extension
import (
nex "github.com/PretendoNetwork/nex-go/v2"
"github.com/PretendoNetwork/nex-go/v2/types"
"github.com/PretendoNetwork/wiiu-chat/globals"
matchmake_extension "github.com/PretendoNetwork/nex-protocols-go/v2/matchmake-extension"
)
func OpenParticipation(err error, packet nex.PacketInterface, callID uint32, gid types.UInt32) (*nex.RMCMessage, *nex.Error) {
// TODO: Implement this
rmcResponse := nex.NewRMCSuccess(globals.SecureEndpoint, nil)
rmcResponse.ProtocolID = matchmake_extension.ProtocolID
rmcResponse.CallID = callID
rmcResponse.MethodID = matchmake_extension.MethodOpenParticipation
return rmcResponse, nil
}