Documentation ¶
Index ¶
Constants ¶
View Source
const BoardKind = turnbased.BoardKind
View Source
const UserKind = "User"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RevBoard ¶
type RevBoard struct { db.StringID *RevBoardEntity }
type RevBoardEntity ¶
type RevBoardEntity struct { turnbased.BoardEntityBase BoardTurns int `datastore:"bt,noindex,omitempty"` BoardData []byte `datastore:"bd,noindex,omitempty"` BoardHistory string `datastore:"bh,noindex,omitempty"` }
func (*RevBoardEntity) GetBoard ¶
func (entity *RevBoardEntity) GetBoard() (board revgame.Board, err error)
func (*RevBoardEntity) SetBoardState ¶
func (entity *RevBoardEntity) SetBoardState(b revgame.Board)
type User ¶
type User struct { db.StringID *UserEntity }
type UserEntity ¶
type UserEntity = strongo.AppUserBase
Click to show internal directories.
Click to hide internal directories.