feat: Added class ItemsGround

+ added exception handling on returning OT_NULL types
This commit is contained in:
AURUMVORXX
2024-11-07 20:14:20 +03:00
parent 4eaa9e4e2e
commit 0596853161
17 changed files with 174 additions and 6 deletions

View File

@@ -1,5 +1,19 @@
import sqg2o
class ItemsGround:
@staticmethod
def getById(id : int):
return sqg2o.ItemsGround.getById(id)
@staticmethod
def create(data : dict) -> int:
return sqg2o.ItemsGround.create(data)
@staticmethod
def destroy(id : int):
sqg2o.ItemsGround.destroy(id)
class ItemGround(sqg2o.ItemGround):
"""
This class represents item on the ground.