play

package
v0.24.5 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Code generated by Tapestry; edit at your own risk.

Index

Constants

This section is empty.

Variables

View Source
var Z_Types = typeinfo.TypeSet{
	Name:       "play",
	Slot:       z_slot_list,
	Flow:       z_flow_list,
	Str:        z_str_list,
	Signatures: z_signatures,
}

package listing of type data

View Source
var Zt_PlayLog typeinfo.Flow

play_log, a type of flow.

View Source
var Zt_PlayMessage = typeinfo.Slot{
	Name: "play_message",
	Markup: map[string]any{
		"comment": "a client-server message for the play app",
	},
}

play_message, a type of slot.

View Source
var Zt_PlayMode typeinfo.Flow

play_mode, a type of flow.

View Source
var Zt_PlayModes = typeinfo.Str{
	Name: "play_modes",
	Options: []string{
		"asm",
		"play",
		"complete",
		"error",
	},
	Markup: map[string]any{
		"comment": "enum for play play_mode",
	},
}

play_modes, a type of str enum.

View Source
var Zt_PlayOut typeinfo.Flow

play_out, a type of flow.

Functions

This section is empty.

Types

type PlayLog

type PlayLog struct {
	Log    string
	Markup map[string]any
}

a log message that can optionally be displayed to the client.

func (*PlayLog) GetMarkup

func (op *PlayLog) GetMarkup(ensure bool) map[string]any

implements typeinfo.Markup

func (*PlayLog) PlayMessage

func (*PlayLog) PlayMessage()

func (*PlayLog) TypeInfo

func (*PlayLog) TypeInfo() typeinfo.T

implements typeinfo.Instance

type PlayLog_Slice

type PlayLog_Slice []PlayLog

holds a slice of type play_log

func (*PlayLog_Slice) Repeats

func (op *PlayLog_Slice) Repeats() bool

implements typeinfo.Repeats

func (*PlayLog_Slice) TypeInfo

func (*PlayLog_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

type PlayMessage

type PlayMessage interface {
	PlayMessage()
	typeinfo.Instance
}

marker interface for play message types

type PlayMessage_Slot

type PlayMessage_Slot struct{ Value PlayMessage }

holds a single slot.

func (*PlayMessage_Slot) TypeInfo

func (*PlayMessage_Slot) TypeInfo() typeinfo.T

implements typeinfo.Instance for a single slot.

type PlayMessage_Slots

type PlayMessage_Slots []PlayMessage

holds a slice of slots.

func (*PlayMessage_Slots) Repeats

func (op *PlayMessage_Slots) Repeats() bool

implements typeinfo.Repeats

func (*PlayMessage_Slots) TypeInfo

func (*PlayMessage_Slots) TypeInfo() typeinfo.T

implements typeinfo.Instance for a series of slots.

type PlayMode

type PlayMode struct {
	Mode   PlayModes
	Markup map[string]any
}

app level change in state.

func (*PlayMode) GetMarkup

func (op *PlayMode) GetMarkup(ensure bool) map[string]any

implements typeinfo.Markup

func (*PlayMode) PlayMessage

func (*PlayMode) PlayMessage()

func (*PlayMode) TypeInfo

func (*PlayMode) TypeInfo() typeinfo.T

implements typeinfo.Instance

type PlayMode_Slice

type PlayMode_Slice []PlayMode

holds a slice of type play_mode

func (*PlayMode_Slice) Repeats

func (op *PlayMode_Slice) Repeats() bool

implements typeinfo.Repeats

func (*PlayMode_Slice) TypeInfo

func (*PlayMode_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

type PlayModes

type PlayModes int

PlayModes, a type of str enum.

const (
	C_PlayModes_Asm PlayModes = iota
	C_PlayModes_Play
	C_PlayModes_Complete
	C_PlayModes_Error
)

enumerated values of PlayModes

func MakePlayModes

func MakePlayModes(str string) (ret PlayModes, okay bool)

func (PlayModes) String

func (op PlayModes) String() (ret string)

type PlayOut

type PlayOut struct {
	Out    string
	Markup map[string]any
}

output from the game itself.

func (*PlayOut) GetMarkup

func (op *PlayOut) GetMarkup(ensure bool) map[string]any

implements typeinfo.Markup

func (*PlayOut) PlayMessage

func (*PlayOut) PlayMessage()

func (*PlayOut) TypeInfo

func (*PlayOut) TypeInfo() typeinfo.T

implements typeinfo.Instance

type PlayOut_Slice

type PlayOut_Slice []PlayOut

holds a slice of type play_out

func (*PlayOut_Slice) Repeats

func (op *PlayOut_Slice) Repeats() bool

implements typeinfo.Repeats

func (*PlayOut_Slice) TypeInfo

func (*PlayOut_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

Jump to

Keyboard shortcuts

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