docs: Added docs for constants
This commit is contained in:
@@ -6,8 +6,8 @@ Original: [onPlayerChangeWeaponMode](https://gothicmultiplayerteam.gitlab.io/doc
|
||||
## Parameters
|
||||
* `dict` **kwargs**:
|
||||
* `int` **playerid**: the id of the player which changes the weapon mode.
|
||||
* `int` **oldWeaponMode**: the old weapon mode which was used by the player. For more information see **TBD**.
|
||||
* `int` **newWeaponMode**: the new weapon mode in which player is currently using. For more information see **TBD**.
|
||||
* `int` **oldWeaponMode**: the old weapon mode which was used by the player. For more information see [Weapon mode](../../constants/weapon-mode.md).
|
||||
* `int` **newWeaponMode**: the new weapon mode in which player is currently using. For more information see [Weapon mode](../../constants/weapon-mode.md).
|
||||
|
||||
## Usage
|
||||
```python
|
||||
|
||||
@@ -6,7 +6,7 @@ Original: [onPlayerDisconnect](https://gothicmultiplayerteam.gitlab.io/docs/0.3.
|
||||
## Parameters
|
||||
* `dict` **kwargs**:
|
||||
* `int` **playerid**: he id of the player who disconnected from the server.
|
||||
* `int` **reason**: the reason why player got disconnected. For more information see **TBD**.
|
||||
* `int` **reason**: the reason why player got disconnected. For more information see [Network](../../constants/network.md).
|
||||
|
||||
## Usage
|
||||
```python
|
||||
|
||||
@@ -6,7 +6,7 @@ Original: [onPlayerEquipHandItem](https://gothicmultiplayerteam.gitlab.io/docs/0
|
||||
## Parameters
|
||||
* `dict` **kwargs**:
|
||||
* `int` **playerid**: the id of the player who gets an item to his hand.
|
||||
* `int` **hand**: the id of the hand in which player holds item. For more information see **TBD**.
|
||||
* `int` **hand**: the id of the hand in which player holds item. For more information see [Hand](../../constants/hand.md).
|
||||
* `str` **str | null**: instance: the item instance from Daedalus scripts.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -6,7 +6,7 @@ Original: [onPlayerEquipRing](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0
|
||||
## Parameters
|
||||
* `dict` **kwargs**:
|
||||
* `int` **playerid**: the id of the player who equips a ring.
|
||||
* `int` **hand**: the hand id that the player is putting the ring on. For more information see **TBD**.
|
||||
* `int` **hand**: the hand id that the player is putting the ring on. For more information see [Hand](../../constants/hand.md).
|
||||
* `str` **str | null**: instance: the item instance from Daedalus scripts.
|
||||
|
||||
## Usage
|
||||
|
||||
Reference in New Issue
Block a user