extendedgame

package
v0.0.0-...-6b15219 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package extendedgame is the definition of a StorageRecord for ExtendedGame. In a separate package to avoid dependency cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CombinedStorageRecord

type CombinedStorageRecord struct {
	boardgame.GameStorageRecord
	StorageRecord
}

CombinedStorageRecord combines the base GameStorageRecord and StorageRecord into one struct.

func (*CombinedStorageRecord) String

func (c *CombinedStorageRecord) String() string

type StorageRecord

type StorageRecord struct {
	Open    bool
	Visible bool
	Owner   string
}

StorageRecord is the extra information the server wants stored along with the game.

func DefaultStorageRecord

func DefaultStorageRecord() *StorageRecord

DefaultStorageRecord returns a StorageRecord with all defaults set to default values.

Jump to

Keyboard shortcuts

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