// Code generated by mockery v2.50.0. DO NOT EDIT.

package mocks

import (
	runtime "github.com/heroiclabs/nakama-common/runtime"
	mock "github.com/stretchr/testify/mock"
)

// MockMatchData is an autogenerated mock type for the MatchData type
type MockMatchData struct {
	mock.Mock
}

type MockMatchData_Expecter struct {
	mock *mock.Mock
}

func (_m *MockMatchData) EXPECT() *MockMatchData_Expecter {
	return &MockMatchData_Expecter{mock: &_m.Mock}
}

// GetData provides a mock function with no fields
func (_m *MockMatchData) GetData() []byte {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetData")
	}

	var r0 []byte
	if rf, ok := ret.Get(0).(func() []byte); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]byte)
		}
	}

	return r0
}

// MockMatchData_GetData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetData'
type MockMatchData_GetData_Call struct {
	*mock.Call
}

// GetData is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetData() *MockMatchData_GetData_Call {
	return &MockMatchData_GetData_Call{Call: _e.mock.On("GetData")}
}

func (_c *MockMatchData_GetData_Call) Run(run func()) *MockMatchData_GetData_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetData_Call) Return(_a0 []byte) *MockMatchData_GetData_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetData_Call) RunAndReturn(run func() []byte) *MockMatchData_GetData_Call {
	_c.Call.Return(run)
	return _c
}

// GetHidden provides a mock function with no fields
func (_m *MockMatchData) GetHidden() bool {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetHidden")
	}

	var r0 bool
	if rf, ok := ret.Get(0).(func() bool); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(bool)
	}

	return r0
}

// MockMatchData_GetHidden_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHidden'
type MockMatchData_GetHidden_Call struct {
	*mock.Call
}

// GetHidden is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetHidden() *MockMatchData_GetHidden_Call {
	return &MockMatchData_GetHidden_Call{Call: _e.mock.On("GetHidden")}
}

func (_c *MockMatchData_GetHidden_Call) Run(run func()) *MockMatchData_GetHidden_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetHidden_Call) Return(_a0 bool) *MockMatchData_GetHidden_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetHidden_Call) RunAndReturn(run func() bool) *MockMatchData_GetHidden_Call {
	_c.Call.Return(run)
	return _c
}

// GetNodeId provides a mock function with no fields
func (_m *MockMatchData) GetNodeId() string {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetNodeId")
	}

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

// MockMatchData_GetNodeId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNodeId'
type MockMatchData_GetNodeId_Call struct {
	*mock.Call
}

// GetNodeId is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetNodeId() *MockMatchData_GetNodeId_Call {
	return &MockMatchData_GetNodeId_Call{Call: _e.mock.On("GetNodeId")}
}

func (_c *MockMatchData_GetNodeId_Call) Run(run func()) *MockMatchData_GetNodeId_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetNodeId_Call) Return(_a0 string) *MockMatchData_GetNodeId_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetNodeId_Call) RunAndReturn(run func() string) *MockMatchData_GetNodeId_Call {
	_c.Call.Return(run)
	return _c
}

// GetOpCode provides a mock function with no fields
func (_m *MockMatchData) GetOpCode() int64 {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetOpCode")
	}

	var r0 int64
	if rf, ok := ret.Get(0).(func() int64); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(int64)
	}

	return r0
}

// MockMatchData_GetOpCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOpCode'
type MockMatchData_GetOpCode_Call struct {
	*mock.Call
}

// GetOpCode is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetOpCode() *MockMatchData_GetOpCode_Call {
	return &MockMatchData_GetOpCode_Call{Call: _e.mock.On("GetOpCode")}
}

func (_c *MockMatchData_GetOpCode_Call) Run(run func()) *MockMatchData_GetOpCode_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetOpCode_Call) Return(_a0 int64) *MockMatchData_GetOpCode_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetOpCode_Call) RunAndReturn(run func() int64) *MockMatchData_GetOpCode_Call {
	_c.Call.Return(run)
	return _c
}

// GetPersistence provides a mock function with no fields
func (_m *MockMatchData) GetPersistence() bool {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetPersistence")
	}

	var r0 bool
	if rf, ok := ret.Get(0).(func() bool); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(bool)
	}

	return r0
}

// MockMatchData_GetPersistence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPersistence'
type MockMatchData_GetPersistence_Call struct {
	*mock.Call
}

// GetPersistence is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetPersistence() *MockMatchData_GetPersistence_Call {
	return &MockMatchData_GetPersistence_Call{Call: _e.mock.On("GetPersistence")}
}

func (_c *MockMatchData_GetPersistence_Call) Run(run func()) *MockMatchData_GetPersistence_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetPersistence_Call) Return(_a0 bool) *MockMatchData_GetPersistence_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetPersistence_Call) RunAndReturn(run func() bool) *MockMatchData_GetPersistence_Call {
	_c.Call.Return(run)
	return _c
}

// GetReason provides a mock function with no fields
func (_m *MockMatchData) GetReason() runtime.PresenceReason {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetReason")
	}

	var r0 runtime.PresenceReason
	if rf, ok := ret.Get(0).(func() runtime.PresenceReason); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(runtime.PresenceReason)
	}

	return r0
}

// MockMatchData_GetReason_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReason'
type MockMatchData_GetReason_Call struct {
	*mock.Call
}

// GetReason is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetReason() *MockMatchData_GetReason_Call {
	return &MockMatchData_GetReason_Call{Call: _e.mock.On("GetReason")}
}

func (_c *MockMatchData_GetReason_Call) Run(run func()) *MockMatchData_GetReason_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetReason_Call) Return(_a0 runtime.PresenceReason) *MockMatchData_GetReason_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetReason_Call) RunAndReturn(run func() runtime.PresenceReason) *MockMatchData_GetReason_Call {
	_c.Call.Return(run)
	return _c
}

// GetReceiveTime provides a mock function with no fields
func (_m *MockMatchData) GetReceiveTime() int64 {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetReceiveTime")
	}

	var r0 int64
	if rf, ok := ret.Get(0).(func() int64); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(int64)
	}

	return r0
}

// MockMatchData_GetReceiveTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReceiveTime'
type MockMatchData_GetReceiveTime_Call struct {
	*mock.Call
}

// GetReceiveTime is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetReceiveTime() *MockMatchData_GetReceiveTime_Call {
	return &MockMatchData_GetReceiveTime_Call{Call: _e.mock.On("GetReceiveTime")}
}

func (_c *MockMatchData_GetReceiveTime_Call) Run(run func()) *MockMatchData_GetReceiveTime_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetReceiveTime_Call) Return(_a0 int64) *MockMatchData_GetReceiveTime_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetReceiveTime_Call) RunAndReturn(run func() int64) *MockMatchData_GetReceiveTime_Call {
	_c.Call.Return(run)
	return _c
}

// GetReliable provides a mock function with no fields
func (_m *MockMatchData) GetReliable() bool {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetReliable")
	}

	var r0 bool
	if rf, ok := ret.Get(0).(func() bool); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(bool)
	}

	return r0
}

// MockMatchData_GetReliable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReliable'
type MockMatchData_GetReliable_Call struct {
	*mock.Call
}

// GetReliable is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetReliable() *MockMatchData_GetReliable_Call {
	return &MockMatchData_GetReliable_Call{Call: _e.mock.On("GetReliable")}
}

func (_c *MockMatchData_GetReliable_Call) Run(run func()) *MockMatchData_GetReliable_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetReliable_Call) Return(_a0 bool) *MockMatchData_GetReliable_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetReliable_Call) RunAndReturn(run func() bool) *MockMatchData_GetReliable_Call {
	_c.Call.Return(run)
	return _c
}

// GetSessionId provides a mock function with no fields
func (_m *MockMatchData) GetSessionId() string {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetSessionId")
	}

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

// MockMatchData_GetSessionId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSessionId'
type MockMatchData_GetSessionId_Call struct {
	*mock.Call
}

// GetSessionId is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetSessionId() *MockMatchData_GetSessionId_Call {
	return &MockMatchData_GetSessionId_Call{Call: _e.mock.On("GetSessionId")}
}

func (_c *MockMatchData_GetSessionId_Call) Run(run func()) *MockMatchData_GetSessionId_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetSessionId_Call) Return(_a0 string) *MockMatchData_GetSessionId_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetSessionId_Call) RunAndReturn(run func() string) *MockMatchData_GetSessionId_Call {
	_c.Call.Return(run)
	return _c
}

// GetStatus provides a mock function with no fields
func (_m *MockMatchData) GetStatus() string {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetStatus")
	}

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

// MockMatchData_GetStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatus'
type MockMatchData_GetStatus_Call struct {
	*mock.Call
}

// GetStatus is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetStatus() *MockMatchData_GetStatus_Call {
	return &MockMatchData_GetStatus_Call{Call: _e.mock.On("GetStatus")}
}

func (_c *MockMatchData_GetStatus_Call) Run(run func()) *MockMatchData_GetStatus_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetStatus_Call) Return(_a0 string) *MockMatchData_GetStatus_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetStatus_Call) RunAndReturn(run func() string) *MockMatchData_GetStatus_Call {
	_c.Call.Return(run)
	return _c
}

// GetUserId provides a mock function with no fields
func (_m *MockMatchData) GetUserId() string {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetUserId")
	}

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

// MockMatchData_GetUserId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserId'
type MockMatchData_GetUserId_Call struct {
	*mock.Call
}

// GetUserId is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetUserId() *MockMatchData_GetUserId_Call {
	return &MockMatchData_GetUserId_Call{Call: _e.mock.On("GetUserId")}
}

func (_c *MockMatchData_GetUserId_Call) Run(run func()) *MockMatchData_GetUserId_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetUserId_Call) Return(_a0 string) *MockMatchData_GetUserId_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetUserId_Call) RunAndReturn(run func() string) *MockMatchData_GetUserId_Call {
	_c.Call.Return(run)
	return _c
}

// GetUsername provides a mock function with no fields
func (_m *MockMatchData) GetUsername() string {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for GetUsername")
	}

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

// MockMatchData_GetUsername_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsername'
type MockMatchData_GetUsername_Call struct {
	*mock.Call
}

// GetUsername is a helper method to define mock.On call
func (_e *MockMatchData_Expecter) GetUsername() *MockMatchData_GetUsername_Call {
	return &MockMatchData_GetUsername_Call{Call: _e.mock.On("GetUsername")}
}

func (_c *MockMatchData_GetUsername_Call) Run(run func()) *MockMatchData_GetUsername_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *MockMatchData_GetUsername_Call) Return(_a0 string) *MockMatchData_GetUsername_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockMatchData_GetUsername_Call) RunAndReturn(run func() string) *MockMatchData_GetUsername_Call {
	_c.Call.Return(run)
	return _c
}

// NewMockMatchData creates a new instance of MockMatchData. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewMockMatchData(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMatchData {
	mock := &MockMatchData{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
