Components now knows why client exist

This commit is contained in:
Tnze
2022-05-28 13:48:19 +08:00
parent 4cc7ed22b7
commit 33f604aa93
7 changed files with 44 additions and 26 deletions

View File

@ -84,6 +84,6 @@ func (c *ClientInformation) Init(g *server.Game) {
})
}
func (c *ClientInformation) Run(ctx context.Context) {}
func (c *ClientInformation) ClientJoin(p *server.Client) {}
func (c *ClientInformation) ClientLeft(p *server.Client) {}
func (c *ClientInformation) Run(ctx context.Context) {}
func (c *ClientInformation) ClientJoin(client *server.Client, player *server.Player) {}
func (c *ClientInformation) ClientLeft(client *server.Client, player *server.Player, reason error) {}