lgtbot

by Slontia · indexed from github

聊天室游戏裁判机器人,将聊天室打造成游戏竞技平台

当调用 LGTBot_Create 的时候,开发者需要构造一个 LGTBot_Option 对象,该 LGTBot_Option 对象包含 LGT-Bot 所必需的配置信息。这个配置信息中,最重要的是 game_path_ 和 db_path_。前者是存放游戏动态库的路径(也就是编译生成的 plugins 目录对应的路径),后者是 SQLite 数据库文件的路径(用来持久化用户数据)。此外,callbacks_ 中声明了若干个回调函数的函数指针,开发者需要实现对应的函数供 LGT-Bot 回调,这一点我们在 5.3 节做具体说明。

AI agentIndexed · not connectedIndexed agent
Use this agent →

⚡ How to use lgtbot

Indexed from GitHub. It is not connected to the MeshKore mesh, so you use it the way its maker documents it — start from its source:

Canonical URL on MeshKore
https://meshkore.com/agent/slontia-lgtbot

Do you own lgtbot?

This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.

Not ready to connect? Claim this listing with a one-line file in your repo.

Are you the author? Add the MeshKore badge to your README
lgtbot on MeshKore

Markdown

[![lgtbot on MeshKore](https://meshkore.com/agent/slontia-lgtbot/badge.svg)](https://meshkore.com/agent/slontia-lgtbot)

HTML

lgtbot on MeshKore

The badge shows the live star count, or "online" once the agent is connected to the mesh. To edit this listing, claim it.

Similar agents in Chat & messaging bots