bf2

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package bf2 is a generated GoMock package.

Index

Constants

View Source
const (

	// ProfileNumberMaxLength BF2 only uses 4 digit profile numbers
	ProfileNumberMaxLength = 4
)

Variables

This section is empty.

Functions

func GetDefaultUserProfileCon

func GetDefaultUserProfileCon(h configHandler) (*config.Config, error)

func GetDefaultUserProfileNumber

func GetDefaultUserProfileNumber(h configHandler) (string, error)

func GetEncryptedProfileConLogin

func GetEncryptedProfileConLogin(profileCon *config.Config) (string, string, error)

GetEncryptedProfileConLogin Extract profile name and encrypted password from a parsed Profile.con file

Types

type MockconfigHandler

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

MockconfigHandler is a mock of configHandler interface.

func NewMockconfigHandler

func NewMockconfigHandler(ctrl *gomock.Controller) *MockconfigHandler

NewMockconfigHandler creates a new mock instance.

func (*MockconfigHandler) EXPECT

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

func (*MockconfigHandler) ReadGlobalConfig

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

ReadGlobalConfig mocks base method.

func (*MockconfigHandler) ReadProfileConfig

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

ReadProfileConfig mocks base method.

type MockconfigHandlerMockRecorder

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

MockconfigHandlerMockRecorder is the mock recorder for MockconfigHandler.

func (*MockconfigHandlerMockRecorder) ReadGlobalConfig

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

ReadGlobalConfig indicates an expected call of ReadGlobalConfig.

func (*MockconfigHandlerMockRecorder) ReadProfileConfig

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

ReadProfileConfig indicates an expected call of ReadProfileConfig.

Jump to

Keyboard shortcuts

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