mirror of
https://github.com/PretendoNetwork/wiiu-chat-secure.git
synced 2026-04-26 17:17:03 -05:00
21 lines
692 B
Go
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
|
|
}
|