spoilerguard

package
v0.2.76 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(set *card.Set, remoteData []uint8)

func SaveData

func SaveData(d *Data)

Types

type Data

type Data struct {
	Quest            QuestProgress `json:"q"`
	MetCarmina       bool          `json:"t"`
	CarminaApproved  bool          `json:"a"`
	Deck             card.Deck     `json:"d"`
	SeenSpiedEnemies []uint8       `json:"s"`
	Menu             uint32        `json:"m,omitempty"`
}

func LoadData

func LoadData() *Data

type QuestProgress

type QuestProgress int8
const (
	QuestUnavailable QuestProgress = -1
	QuestAvailable   QuestProgress = 0
	QuestTaken       QuestProgress = 1
	QuestComplete    QuestProgress = 2
)

Jump to

Keyboard shortcuts

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