game

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	ReadGlobalConfig(game handler.Game) (*config.Config, error)
	ReadProfileConfig(game handler.Game, profile string) (*config.Config, error)
}

type MockHandler

type MockHandler struct {
	// contains filtered or unexported fields
}

MockHandler is a mock of Handler interface.

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance.

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHandler) ReadGlobalConfig

func (m *MockHandler) ReadGlobalConfig(game handler.Game) (*config.Config, error)

ReadGlobalConfig mocks base method.

func (*MockHandler) ReadProfileConfig

func (m *MockHandler) ReadProfileConfig(game handler.Game, profile string) (*config.Config, error)

ReadProfileConfig mocks base method.

type MockHandlerMockRecorder

type MockHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHandlerMockRecorder is the mock recorder for MockHandler.

func (*MockHandlerMockRecorder) ReadGlobalConfig

func (mr *MockHandlerMockRecorder) ReadGlobalConfig(game interface{}) *gomock.Call

ReadGlobalConfig indicates an expected call of ReadGlobalConfig.

func (*MockHandlerMockRecorder) ReadProfileConfig

func (mr *MockHandlerMockRecorder) ReadProfileConfig(game, profile interface{}) *gomock.Call

ReadProfileConfig indicates an expected call of ReadProfileConfig.

Directories

Path Synopsis
Methods for working specifically with Battlefield 2 configuration files (.con)
Methods for working specifically with Battlefield 2 configuration files (.con)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL