DOC: lua/event: add ServerEvent class header
This is to make ServerEvent class easier to understand, some additional info related to ServerEvent class may be included here.
This commit is contained in:
parent
fc84553df8
commit
c4ae8906b9
@ -1487,6 +1487,12 @@ EventSub class
|
|||||||
ServerEvent class
|
ServerEvent class
|
||||||
=================
|
=================
|
||||||
|
|
||||||
|
.. js:class:: ServerEvent
|
||||||
|
|
||||||
|
This class is provided with every **SERVER** events.
|
||||||
|
|
||||||
|
See :js:func:`core.event_sub()` for more info.
|
||||||
|
|
||||||
.. js:attribute:: ServerEvent.name
|
.. js:attribute:: ServerEvent.name
|
||||||
|
|
||||||
Contains the name of the server.
|
Contains the name of the server.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user