exit

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoomExit

type RoomExit struct {
	RoomId       int
	Secret       bool          `yaml:"secret,omitempty"`
	MapDirection string        `yaml:"mapdirection,omitempty"` // Optionaly indicate the direction of this exit for mapping purposes
	ExitMessage  string        `yaml:"exitmessage,omitempty"`  // If set, this message is sent to the user, followed by a delay, before they actually go through the exit.
	Lock         gamelock.Lock `yaml:"lock,omitempty"`         // 0 - no lock. greater than zero = difficulty to unlock.
}

func (RoomExit) HasLock

func (re RoomExit) HasLock() bool

type TemporaryRoomExit

type TemporaryRoomExit struct {
	RoomId       int    // Where does it lead to?
	Title        string // Does this exit have a special title?
	UserId       int    // Who created it?
	SpawnedRound uint64 `yaml:"-"` // When the temp exit was created
	Expires      string // When will it be auto-cleaned up?
}

There is a magic portal of Chuckles, magic portal of Henry here! There is a magical hole in the east wall here!

Jump to

Keyboard shortcuts

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