Skip to content

Tenhou Client

moxcomic edited this page Mar 17, 2024 · 9 revisions

This library is used to perform actions in the game.

Import

tenhouclient "github.com/moxcomic/engine/tenhou_client"

func Inst() *Client
func (self *Client) GOK()
func (self *Client) ActionYuYue(roomId int, roomType int)
func (self *Client) ActionReJoin()
func (self *Client) ActionCancelYuYue()
func (self *Client) Lobby(roomID int)
func (self *Client) ConfirmNewRound()
func (self *Client) ActionBabei()
func (self *Client) ActionDiscard(tile string, tsumogiri bool, isRiichi bool)
func (self *Client) ActionReach()
func (self *Client) ActionChi(tile0 string, tile1 string)
func (self *Client) ActionPon(tile0 string, tile1 string)
func (self *Client) ActionMinkan()
func (self *Client) ActionKakan(tile string)
func (self *Client) ActionAnkan(tile string)
func (self *Client) ActionRyuukyoku()
func (self *Client) ActionTsumo()
func (self *Client) ActionRon()
func (self *Client) ActionCancel()
Clone this wiki locally