mirror of
https://github.com/minetest/minetest_docs.git
synced 2024-10-05 17:33:08 +02:00
Apply suggestions from code review
Co-authored-by: benrob0329 <ben@innovationplex.com>
This commit is contained in:
parent
3940703fc9
commit
a439070021
@ -28,7 +28,7 @@ NOTE: `channel` here means the object returned by `minetest.mod_channel_join`.
|
||||
|
||||
The server will leave the channel, meaning no more messages from this channel on `minetest.register_on_modchannel_message`
|
||||
|
||||
TIP: Set the channel to `nil`` afterwords to free resources
|
||||
TIP: Set the channel to `nil` afterwords to free resources
|
||||
|
||||
==== channel:is_writeable()
|
||||
|
||||
@ -40,7 +40,7 @@ TIP: Set the channel to `nil`` afterwords to free resources
|
||||
|
||||
Sends to all SSMs and CSMs on the channel.
|
||||
|
||||
Caution: The message will not if channel is not writable or invalid.
|
||||
CAUTION: The message will not if channel is not writable or invalid.
|
||||
|
||||
== Client Side API
|
||||
|
||||
@ -71,6 +71,7 @@ Used for handling messages received from the client. Is equivalent to the the se
|
||||
. event_on_not_joined_channel
|
||||
. state_changed
|
||||
|
||||
Used to handle signals generated by the mod channel system.
|
||||
=== Methods
|
||||
|
||||
NOTE: `channel` here means the object returned by `minetest.mod_channel_join`.
|
||||
@ -79,7 +80,7 @@ NOTE: `channel` here means the object returned by `minetest.mod_channel_join`.
|
||||
|
||||
The client will leave the channel, meaning no more messages from this channel on `minetest.register_on_modchannel_message`
|
||||
|
||||
TIP: Set the channel to `nil`` afterwords to free resources
|
||||
TIP: Set the channel to `nil` afterwords to free resources
|
||||
|
||||
==== channel:is_writeable()
|
||||
|
||||
@ -91,4 +92,4 @@ TIP: Set the channel to `nil`` afterwords to free resources
|
||||
|
||||
Sends to all SSMs and CSMs on the channel.
|
||||
|
||||
Caution: The message will not if channel is not writable or invalid.
|
||||
CAUTION: The message will not if channel is not writable or invalid.
|
Loading…
Reference in New Issue
Block a user