sc

package
v0.0.0-...-ca6fd01 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromJson

func FromJson(breq []byte) interface{}

func ToJson

func ToJson(sc interface{}) []byte

Types

type Auth

type Auth struct {
	Error  string
	Resume bool
	User   *model.User
}

type GetReplay

type GetReplay struct {
	ReplayId   uint
	ReplayJson string
}

type GetReplayList

type GetReplayList struct {
	ReplayIds []uint
}

type LookAround

type LookAround struct {
	Conn       int
	Table      int
	Water      []string
	Rooms      []*model.Room
	MatchWaits []int
}

type RoomJoin

type RoomJoin struct {
	Error string
}

type TableEnd

type TableEnd struct {
	Abortive    bool
	FoodChanges []*model.FoodChange
}

type TableEvent

type TableEvent struct {
	Event string
	Args  VarMap
}

type TableInit

type TableInit struct {
	MatchResult model.MatchResult
	Choices     [3]model.Gid
	FoodCosts   [3]int
}

func (*TableInit) RightPers

func (msg *TableInit) RightPers() *TableInit

type TableSeat

type TableSeat struct {
	GirlKeys   [4]model.GirlKey
	TempDealer int
}

func (*TableSeat) RightPers

func (msg *TableSeat) RightPers() *TableSeat

rotate perspective

type UpdateUser

type UpdateUser struct {
	User *model.User
}

type VarMap

type VarMap map[string]interface{}

Jump to

Keyboard shortcuts

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