environment

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginInfo

type LoginInfo struct {
	Token          string
	ServerCode     string
	ServerPasscode string
	Username       string
	Password       string
}

type PBEnvironment

type PBEnvironment struct {
	LoginInfo
	IsDebug                   bool
	ScriptBridge              interface{}
	ScriptHolder              interface{}
	FunctionHolder            interfaces.FunctionHolder
	FBUCUsername              string
	WorldChatChannel          chan []string
	FBAuthClient              interface{}
	GlobalFullConfig          interface{}
	RespondUser               string
	Connection                interface{}
	UQHolder                  interface{}
	Resources                 interface{}
	ResourcesUpdater          interface{}
	GameInterface             interfaces.GameInterface
	ActivateTaskStatus        chan bool
	Uid                       string
	ExternalConnectionHandler interface{}
	Destructors               []func()

	CertSigning          bool
	LocalKey             string
	LocalCert            string
	LRUMemoryChunkCacher interface{}
	ChunkFeeder          interface{}

	PythonPath string
	JavaPath   string
	Plugins    map[string]*plugin.Plugin
	// contains filtered or unexported fields
}

func (*PBEnvironment) BootstrapDirs

func (d *PBEnvironment) BootstrapDirs()

func (*PBEnvironment) GetPath

func (d *PBEnvironment) GetPath(elem ...string) string

func (*PBEnvironment) Init

func (env *PBEnvironment) Init()

func (*PBEnvironment) Init_plugin

func (env *PBEnvironment) Init_plugin()

func (*PBEnvironment) Load_plugin

func (env *PBEnvironment) Load_plugin()

func (*PBEnvironment) Mkdir

func (d *PBEnvironment) Mkdir(tip string, path string)

func (*PBEnvironment) RunCmd

func (o *PBEnvironment) RunCmd(subProcessName string, cmdStr string, remapping map[string]string, execDir string) (err error)

func (*PBEnvironment) RunPip

func (o *PBEnvironment) RunPip(cmdStr string, remapping map[string]string) (err error)

func (*PBEnvironment) RunPython

func (o *PBEnvironment) RunPython(cmdStr string, remapping map[string]string) (err error)

func (*PBEnvironment) Stop

func (env *PBEnvironment) Stop()

func (*PBEnvironment) WaitStopped

func (env *PBEnvironment) WaitStopped()

type Plugins

type Plugins struct {
	IsDebug                   bool
	ScriptBridge              interface{}
	ScriptHolder              interface{}
	FunctionHolder            interfaces.FunctionHolder
	WorldChatChannel          chan []string
	GlobalFullConfig          interface{}
	RespondUser               string
	Connection                interface{}
	GameInterface             interfaces.GameInterface
	ActivateTaskStatus        chan bool
	Uid                       string
	ExternalConnectionHandler interface{}
	Destructors               []func()
	LRUMemoryChunkCacher      interface{}
	ChunkFeeder               interface{}
	PythonPath                string
	JavaPath                  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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