feat: Added Mds class

This commit is contained in:
AURUMVORXX
2024-11-09 04:03:33 +03:00
parent 58ec459ea5
commit 0b89806626
9 changed files with 109 additions and 15 deletions

View File

@@ -1,4 +1,3 @@
## Events
* `addEventHandler` replaced with decorator [event](events/event.md)
```python
@@ -71,4 +70,26 @@ def evtDrop(**kwargs):
* `getTickCount`
* `eventValue`
* `getPlayerMagicLevel`
* `setPlayerMagicLevel`
* `setPlayerMagicLevel`
---
* All functions and events that returned/passed a `null` in the Squirrel, now passes an empty string. Most notable in this list are all equipment related functions and events
* `onPlayerEquipAmulet`
* `onPlayerEquipArmor`
* `onPlayerEquipBelt`
* `onPlayerEquipHandItem`
* `onPlayerEquipHelmet`
* `onPlayerEquipMeleeWeapon`
* `onPlayerEquipRangedWeapon`
* `onPlayerEquipRing`
* `onPlayerEquipShield`
* `onPlayerEquipSpell`
* `getPlayerAmulet`
* `getPlayerArmor`
* `getPlayerBelt`
* `getPlayerHelmet`
* `getPlayerMeleeWeapon`
* `getPlayerRangedWeapon`
* `getPlayerRing`
* `getPlayerShield`
* `getPlayerSpell`

View File

@@ -1,11 +0,0 @@
### Requirements
* **CMake** 21.0+
* **Python** 3.12+
After cloning this repository, you should init all the submodules and build CPython. You can do it via command line:
```console
cd {PROJECT FOLDER}/dependencies/cpython/PCBuild/
build.bat -c Debug
```
Now, you're able to build the module with CMake. If you're using VSCode, then just open project folder and press hotkey **F7**. You should also pick the right preset (if you have x64 Python installed, then you can't build x32 module).