2023-09-17 12:12:40 +00:00
|
|
|
<!-- THIS FILE IS AUTOGENERATED BY ./scripts/update_docs_index.sh -->
|
|
|
|
|
2022-11-13 12:31:52 +00:00
|
|
|
# teeworlds_network
|
|
|
|
|
2023-09-17 17:43:14 +00:00
|
|
|
Version v0.0.4
|
2022-11-13 12:31:52 +00:00
|
|
|
|
|
|
|
## Classes
|
|
|
|
|
|
|
|
|
2023-09-17 12:12:40 +00:00
|
|
|
### [ChatMessage](classes/ChatMessage.md)
|
2023-09-17 11:25:10 +00:00
|
|
|
|
2022-11-13 12:31:52 +00:00
|
|
|
### [Context](classes/Context.md)
|
|
|
|
|
|
|
|
### [Player](classes/Player.md)
|
|
|
|
|
2023-09-17 12:12:40 +00:00
|
|
|
### [Snapshot](classes/Snapshot.md)
|
|
|
|
|
2022-11-13 12:31:52 +00:00
|
|
|
### [TeeworldsClient](classes/TeeworldsClient.md)
|
|
|
|
|
2023-09-17 11:51:47 +00:00
|
|
|
[#on_disconnect(&block)](classes/TeeworldsClient.md#on_disconnect)
|
|
|
|
|
|
|
|
[#on_connected(&block)](classes/TeeworldsClient.md#on_connected)
|
2022-11-13 12:31:52 +00:00
|
|
|
|
|
|
|
[#on_rcon_line(&block)](classes/TeeworldsClient.md#on_rcon_line)
|
|
|
|
|
2023-09-17 11:51:47 +00:00
|
|
|
[#on_auth_off(&block)](classes/TeeworldsClient.md#on_auth_off)
|
2022-11-13 12:31:52 +00:00
|
|
|
|
2023-09-17 11:51:47 +00:00
|
|
|
[#on_auth_on(&block)](classes/TeeworldsClient.md#on_auth_on)
|
|
|
|
|
|
|
|
[#on_input_timing(&block)](classes/TeeworldsClient.md#on_input_timing)
|
|
|
|
|
|
|
|
[#on_maplist_entry_rem(&block)](classes/TeeworldsClient.md#on_maplist_entry_rem)
|
|
|
|
|
|
|
|
[#on_maplist_entry_add(&block)](classes/TeeworldsClient.md#on_maplist_entry_add)
|
|
|
|
|
|
|
|
[#on_rcon_cmd_rem(&block)](classes/TeeworldsClient.md#on_rcon_cmd_rem)
|
|
|
|
|
|
|
|
[#on_rcon_cmd_add(&block)](classes/TeeworldsClient.md#on_rcon_cmd_add)
|
|
|
|
|
|
|
|
[#on_snapshot(&block)](classes/TeeworldsClient.md#on_snapshot)
|
2022-11-13 12:31:52 +00:00
|
|
|
|
|
|
|
[#on_client_info(&block)](classes/TeeworldsClient.md#on_client_info)
|
|
|
|
|
|
|
|
[#on_chat(&block)](classes/TeeworldsClient.md#on_chat)
|
|
|
|
|
|
|
|
[#on_map_change(&block)](classes/TeeworldsClient.md#on_map_change)
|
|
|
|
|
|
|
|
[#on_client_drop(&block)](classes/TeeworldsClient.md#on_client_drop)
|
|
|
|
|
2023-09-17 12:56:00 +00:00
|
|
|
[#connect(ip, port, options = {})](classes/TeeworldsClient.md#connect)
|
2022-11-13 12:31:52 +00:00
|
|
|
|
|
|
|
[#send_chat(str)](classes/TeeworldsClient.md#send_chat)
|
2023-09-17 12:59:51 +00:00
|
|
|
|
|
|
|
[#initialize(options = {})](classes/TeeworldsClient.md#initialize)
|
|
|
|
|
2023-09-17 13:24:40 +00:00
|
|
|
[#rcon_authed? -> Boolean](classes/TeeworldsClient.md#rcon_authed)
|
2023-09-17 12:59:51 +00:00
|
|
|
|
|
|
|
[#send_ctrl_close](classes/TeeworldsClient.md#send_ctrl_close)
|
|
|
|
|
|
|
|
[#disconnect](classes/TeeworldsClient.md#disconnect)
|
|
|
|
|
|
|
|
[#set_startinfo(info)](classes/TeeworldsClient.md#set_startinfo)
|
|
|
|
|
|
|
|
[#send_msg(data)](classes/TeeworldsClient.md#send_msg)
|
|
|
|
|
|
|
|
[#send_ctrl_keepalive](classes/TeeworldsClient.md#send_ctrl_keepalive)
|
|
|
|
|
|
|
|
[#send_msg_connect](classes/TeeworldsClient.md#send_msg_connect)
|
|
|
|
|
|
|
|
[#send_ctrl_with_token](classes/TeeworldsClient.md#send_ctrl_with_token)
|
|
|
|
|
|
|
|
[#send_info](classes/TeeworldsClient.md#send_info)
|
|
|
|
|
|
|
|
[#rcon_auth(name, password = nil)](classes/TeeworldsClient.md#rcon_auth)
|
|
|
|
|
|
|
|
[#rcon(command)](classes/TeeworldsClient.md#rcon)
|
|
|
|
|
|
|
|
[#send_msg_start_info](classes/TeeworldsClient.md#send_msg_start_info)
|
|
|
|
|
|
|
|
[#send_msg_ready](classes/TeeworldsClient.md#send_msg_ready)
|
|
|
|
|
|
|
|
[#send_enter_game](classes/TeeworldsClient.md#send_enter_game)
|
|
|
|
|
2023-09-17 17:42:47 +00:00
|
|
|
[#send_input(input = {})](classes/TeeworldsClient.md#send_input)
|