Documentation ¶
Index ¶
- type GameTask
- func (task *GameTask) ListenChat(in inputs.ChatInput, out *outputs.ListenMessagesOutput) error
- func (task *GameTask) MoveCharacter(in inputs.MoveCharacterInput, out *outputs.CheckSessionOutput) error
- func (task *GameTask) SendChat(in inputs.ChatInput, out *outputs.CheckSessionOutput) error
- func (task *GameTask) SpawnCharacter(in inputs.SpawnCharacterInput, out *outputs.CheckSessionOutput) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameTask ¶
type GameTask struct { SessionConn *rpc.Client WorldRules *domain.WorldRules }
GameTask handle game requests
func (*GameTask) ListenChat ¶
ListenChat task
func (*GameTask) MoveCharacter ¶
func (task *GameTask) MoveCharacter(in inputs.MoveCharacterInput, out *outputs.CheckSessionOutput) error
MoveCharacter task
func (*GameTask) SpawnCharacter ¶
func (task *GameTask) SpawnCharacter(in inputs.SpawnCharacterInput, out *outputs.CheckSessionOutput) error
SpawnCharacter task
Click to show internal directories.
Click to hide internal directories.