ArcherArcher
Home
Quick Start
Project Introduction
  • 简体中文
  • English
Home
Quick Start
Project Introduction
  • 简体中文
  • English
  • Home
  • Basic Configuration

    • Project Introduction
    • Quick Start
    • FAQ
    • Contact Us
  • Advanced Development

    • Basic Knowledge
    • Basic Framework
    • Majsoul Development

      • Tile Names

        • Basic
      • Manager

        • Lobby Manager
      • Game Interfaces

        • Basic
      • LQ

        • Basic
      • Action Types

        • Basic
      • Game State

        • Basic
      • Login Event

        • Login Event
        • Advanced - Mahjong Event Login
      • Discard Actions

        • Basics
        • Advanced
      • Chii (Eat)
      • Pon
      • Kong
      • Cancel, Skip
  • Plugin System

    • Basic Usage
    • Resource Plugin Development
  • Auto Review

    • Automatic Review
  • Tenhou Room

    • Playing in Tenhou Private Room with Mortal Bot

Package Name

  • lq

Import

  • import "github.com/moxcomic/lq"

NotifyAIResult

Field NameTypeNotes
Result[]*lq.AIResult
ShantenintShanten (number of tiles needed to tenpai)
RrrrintDeprecated
MmmmintDeprecated

AIResult

Field NameTypeNotes
Typeuint32Operation type
TilestringTile name
MoqieboolWhether it is the last drawn tile
Combination[]stringTile combination for Chii, Pon, or Kan
Scorefloat64Recommendation value
Chongfloat64Risk value