variables

package
v0.0.0-...-bf68151 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ReservedID = 4096

Note: Now this is used only at gamestate/map.go.

Variables

This section is empty.

Functions

This section is empty.

Types

type Variables

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

func (*Variables) DecodeMsgpack

func (v *Variables) DecodeMsgpack(dec *msgpack.Decoder) error

func (*Variables) EncodeMsgpack

func (v *Variables) EncodeMsgpack(enc *msgpack.Encoder) error

func (*Variables) SelfSwitchValue

func (v *Variables) SelfSwitchValue(mapID, roomID, eventID int, id int) bool

func (*Variables) SetSelfSwitchValue

func (v *Variables) SetSelfSwitchValue(mapID, roomID, eventID int, id int, value bool)

func (*Variables) SetSwitchValue

func (v *Variables) SetSwitchValue(id int, value bool)

func (*Variables) SetVariableValue

func (v *Variables) SetVariableValue(id int, value int64)

func (*Variables) SwitchValue

func (v *Variables) SwitchValue(id int) bool

func (*Variables) VariableValue

func (v *Variables) VariableValue(id int) int64

Jump to

Keyboard shortcuts

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