nodoka

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Umgr *actor.PID
	Tmgr *actor.PID
	Bmgr *actor.PID
)

Functions

func Req

func Req(mgr *actor.PID, msg interface{}) (interface{}, error)

Types

type MbGetMatchWaits

type MbGetMatchWaits struct{}

func (*MbGetMatchWaits) Req

func (msg *MbGetMatchWaits) Req() ([]int, error)

type MbGetRooms

type MbGetRooms struct{}

func (*MbGetRooms) Req

func (msg *MbGetRooms) Req() ([]*model.Room, error)

type MbMatchCancel

type MbMatchCancel struct {
	Uid model.Uid
}

type MbMatchJoin

type MbMatchJoin struct {
	User model.User
	cs.MatchJoin
}

type MbRoomCreate

type MbRoomCreate struct {
	Creator model.User
	cs.RoomCreate
}

type MbRoomJoin

type MbRoomJoin struct {
	User model.User
	cs.RoomJoin
}

type MbRoomQuit

type MbRoomQuit struct {
	Uid model.Uid
}

type MtAction

type MtAction struct {
	Uid model.Uid
	Act *cs.TableAction
}

type MtChoose

type MtChoose struct {
	Uid model.Uid
	*cs.TableChoose
}

type MtCtTables

type MtCtTables struct{}

func (*MtCtTables) Req

func (msg *MtCtTables) Req() (int, error)

type MtHasUser

type MtHasUser struct {
	Uid model.Uid
}

func (*MtHasUser) Req

func (msg *MtHasUser) Req() (bool, error)

type MtSeat

type MtSeat struct {
	Uid model.Uid
}

type MuKick

type MuKick struct {
	Uid    model.Uid
	Reason string
}

type MuSc

type MuSc struct {
	To  model.Uid
	Msg interface{}
}

func (*MuSc) Req

func (msg *MuSc) Req() error

type MuUpdateInfo

type MuUpdateInfo struct {
	Uid model.Uid
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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