dpp

package
v0.0.0-...-1f00af5 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pluggable

type Pluggable interface {
	LoadFromEmbeddable(string, filesystem.Embeddable, bool) (*doodads.Doodad, error)
	IsRegistered() bool
	GetRegistration() (plus.Registration, error)
	UploadLicenseFile(string) (plus.Registration, error)
	IsLevelSigned(*level.Level) bool
	IsLevelPackSigned(*levelpack.LevelPack) bool
}

Pluggable defines the interface for Doodle++ functions, so that their implementations can avoid cyclic dependency errors. Documentation for these functions is only spelled out in the SketchyMaze/dpp package.

var Driver Pluggable

Driver is the currently installed Doodle++ implementation (FOSS or DPP).

type Plugin

type Plugin struct{}

func (Plugin) GetRegistration

func (Plugin) GetRegistration() (plus.Registration, error)

func (Plugin) IsLevelPackSigned

func (Plugin) IsLevelPackSigned(*levelpack.LevelPack) bool

func (Plugin) IsLevelSigned

func (Plugin) IsLevelSigned(*level.Level) bool

func (Plugin) IsRegistered

func (Plugin) IsRegistered() bool

func (Plugin) LoadFromEmbeddable

func (Plugin) LoadFromEmbeddable(filename string, fs filesystem.Embeddable, force bool) (*doodads.Doodad, error)

func (Plugin) UploadLicenseFile

func (Plugin) UploadLicenseFile(string) (plus.Registration, error)

Jump to

Keyboard shortcuts

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