feat: Removed CPython separate compilation
+ Upgraded to Python 3.13 + Added constants to g2o library for auto-completion
This commit is contained in:
13
g2o/constants/__init__.py
Normal file
13
g2o/constants/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from .anticheat import *
|
||||
from .context import *
|
||||
from .damage import *
|
||||
from .general import *
|
||||
from .hand import *
|
||||
from .item import *
|
||||
from .network import *
|
||||
from .npc import *
|
||||
from .reliability import *
|
||||
from .skillweapon import *
|
||||
from .talent import *
|
||||
from .weaponmode import *
|
||||
from .weather import *
|
||||
3
g2o/constants/anticheat.py
Normal file
3
g2o/constants/anticheat.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import sqg2oconst
|
||||
|
||||
AC_SPEED_HACK = sqg2oconst.AC_SPEED_HACK
|
||||
4
g2o/constants/context.py
Normal file
4
g2o/constants/context.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import sqg2oconst
|
||||
|
||||
DAMAGE_CTX = sqg2oconst.DAMAGE_CTX
|
||||
EQUIPMENT_CTX = sqg2oconst.EQUIPMENT_CTX
|
||||
11
g2o/constants/damage.py
Normal file
11
g2o/constants/damage.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import sqg2oconst
|
||||
|
||||
DAMAGE_UNKNOWN = sqg2oconst.DAMAGE_UNKNOWN
|
||||
DAMAGE_BARRIER = sqg2oconst.DAMAGE_BARRIER
|
||||
DAMAGE_BLUNT = sqg2oconst.DAMAGE_BLUNT
|
||||
DAMAGE_EDGE = sqg2oconst.DAMAGE_EDGE
|
||||
DAMAGE_FIRE = sqg2oconst.DAMAGE_FIRE
|
||||
DAMAGE_FLY = sqg2oconst.DAMAGE_FLY
|
||||
DAMAGE_MAGIC = sqg2oconst.DAMAGE_MAGIC
|
||||
DAMAGE_POINT = sqg2oconst.DAMAGE_POINT
|
||||
DAMAGE_FALL = sqg2oconst.DAMAGE_FALL
|
||||
5
g2o/constants/general.py
Normal file
5
g2o/constants/general.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import sqg2oconst
|
||||
|
||||
DEBUG_MODE = sqg2oconst.DEBUG_MODE
|
||||
CLIENT_SIDE = sqg2oconst.CLIENT_SIDE
|
||||
SERVER_SIDE = sqg2oconst.SERVER_SIDE
|
||||
4
g2o/constants/hand.py
Normal file
4
g2o/constants/hand.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import sqg2oconst
|
||||
|
||||
HAND_LEFT = sqg2oconst.HAND_LEFT
|
||||
HAND_RIGHT = sqg2oconst.HAND_RIGHT
|
||||
38
g2o/constants/item.py
Normal file
38
g2o/constants/item.py
Normal file
@@ -0,0 +1,38 @@
|
||||
import sqg2oconst
|
||||
|
||||
ITEM_CAT_NONE = sqg2oconst.ITEM_CAT_NONE
|
||||
ITEM_CAT_NF = sqg2oconst.ITEM_CAT_NF
|
||||
ITEM_CAT_FF = sqg2oconst.ITEM_CAT_FF
|
||||
ITEM_CAT_MUN = sqg2oconst.ITEM_CAT_MUN
|
||||
ITEM_CAT_ARMOR = sqg2oconst.ITEM_CAT_ARMOR
|
||||
ITEM_CAT_FOOD = sqg2oconst.ITEM_CAT_FOOD
|
||||
ITEM_CAT_DOCS = sqg2oconst.ITEM_CAT_DOCS
|
||||
ITEM_CAT_POTION = sqg2oconst.ITEM_CAT_POTION
|
||||
ITEM_CAT_LIGHT = sqg2oconst.ITEM_CAT_LIGHT
|
||||
ITEM_CAT_RUNE = sqg2oconst.ITEM_CAT_RUNE
|
||||
ITEM_CAT_MAGIC = sqg2oconst.ITEM_CAT_MAGIC
|
||||
ITEM_FLAG_DAG = sqg2oconst.ITEM_FLAG_DAG
|
||||
ITEM_FLAG_SWD = sqg2oconst.ITEM_FLAG_SWD
|
||||
ITEM_FLAG_AXE = sqg2oconst.ITEM_FLAG_AXE
|
||||
ITEM_FLAG_2HD_SWD = sqg2oconst.ITEM_FLAG_2HD_SWD
|
||||
ITEM_FLAG_2HD_AXE = sqg2oconst.ITEM_FLAG_2HD_AXE
|
||||
ITEM_FLAG_SHIELD = sqg2oconst.ITEM_FLAG_SHIELD
|
||||
ITEM_FLAG_BOW = sqg2oconst.ITEM_FLAG_BOW
|
||||
ITEM_FLAG_CROSSBOW = sqg2oconst.ITEM_FLAG_CROSSBOW
|
||||
ITEM_FLAG_RING = sqg2oconst.ITEM_FLAG_RING
|
||||
ITEM_FLAG_AMULET = sqg2oconst.ITEM_FLAG_AMULET
|
||||
ITEM_FLAG_BELT = sqg2oconst.ITEM_FLAG_BELT
|
||||
ITEM_FLAG_DROPPED = sqg2oconst.ITEM_FLAG_DROPPED
|
||||
ITEM_FLAG_MI = sqg2oconst.ITEM_FLAG_MI
|
||||
ITEM_FLAG_MULTI = sqg2oconst.ITEM_FLAG_MULTI
|
||||
ITEM_FLAG_NFOCUS = sqg2oconst.ITEM_FLAG_NFOCUS
|
||||
ITEM_FLAG_CREATEAMMO = sqg2oconst.ITEM_FLAG_CREATEAMMO
|
||||
ITEM_FLAG_NSPLIT = sqg2oconst.ITEM_FLAG_NSPLIT
|
||||
ITEM_FLAG_DRINK = sqg2oconst.ITEM_FLAG_DRINK
|
||||
ITEM_FLAG_TORCH = sqg2oconst.ITEM_FLAG_TORCH
|
||||
ITEM_FLAG_THROW = sqg2oconst.ITEM_FLAG_THROW
|
||||
ITEM_FLAG_ACTIVE = sqg2oconst.ITEM_FLAG_ACTIVE
|
||||
ITEM_WEAR_NO = sqg2oconst.ITEM_WEAR_NO
|
||||
ITEM_WEAR_TORSO = sqg2oconst.ITEM_WEAR_TORSO
|
||||
ITEM_WEAR_HEAD = sqg2oconst.ITEM_WEAR_HEAD
|
||||
ITEM_WEAR_LIGHT = sqg2oconst.ITEM_WEAR_LIGHT
|
||||
5
g2o/constants/network.py
Normal file
5
g2o/constants/network.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import sqg2oconst
|
||||
|
||||
DISCONNECTED = sqg2oconst.DISCONNECTED
|
||||
LOST_CONNECTION = sqg2oconst.LOST_CONNECTION
|
||||
HAS_CRASHED = sqg2oconst.HAS_CRASHED
|
||||
28
g2o/constants/npc.py
Normal file
28
g2o/constants/npc.py
Normal file
@@ -0,0 +1,28 @@
|
||||
import sqg2oconst
|
||||
|
||||
ATTACK_RUN = sqg2oconst.ATTACK_RUN
|
||||
ATTACK_FORWARD = sqg2oconst.ATTACK_FORWARD
|
||||
ATTACK_LEFT = sqg2oconst.ATTACK_LEFT
|
||||
ATTACK_RIGHT = sqg2oconst.ATTACK_RIGHT
|
||||
ACTION_CLEAR_QUEUE = sqg2oconst.ACTION_CLEAR_QUEUE
|
||||
ACTION_APPLY_OVERLAY = sqg2oconst.ACTION_APPLY_OVERLAY
|
||||
ACTION_REMOVE_OVERLAY = sqg2oconst.ACTION_REMOVE_OVERLAY
|
||||
ACTION_PLAY_ANI = sqg2oconst.ACTION_PLAY_ANI
|
||||
ACTION_STOP_ANI = sqg2oconst.ACTION_STOP_ANI
|
||||
ACTION_EQUIP_ITEM = sqg2oconst.ACTION_EQUIP_ITEM
|
||||
ACTION_UNEQUIP_ITEM = sqg2oconst.ACTION_UNEQUIP_ITEM
|
||||
ACTION_WEAPON_MODE = sqg2oconst.ACTION_WEAPON_MODE
|
||||
ACTION_DRAW_WEAPON = sqg2oconst.ACTION_DRAW_WEAPON
|
||||
ACTION_REMOVE_WEAPON = sqg2oconst.ACTION_REMOVE_WEAPON
|
||||
ACTION_USE_ITEM = sqg2oconst.ACTION_USE_ITEM
|
||||
ACTION_USE_ITEM_TO_STATE = sqg2oconst.ACTION_USE_ITEM_TO_STATE
|
||||
ACTION_READY_SPELL = sqg2oconst.ACTION_READY_SPELL
|
||||
ACTION_UNREADY_SPELL = sqg2oconst.ACTION_UNREADY_SPELL
|
||||
ACTION_ATTACK_MELEE_WEAPON = sqg2oconst.ACTION_ATTACK_MELEE_WEAPON
|
||||
ACTION_ATTACK_RANGED_WEAPON = sqg2oconst.ACTION_ATTACK_RANGED_WEAPON
|
||||
ACTION_SPELL_CAST = sqg2oconst.ACTION_SPELL_CAST
|
||||
ACTION_USE_MOB_SCHEME = sqg2oconst.ACTION_USE_MOB_SCHEME
|
||||
ACTION_SHOOT_AT = sqg2oconst.ACTION_SHOOT_AT
|
||||
ACTION_START_AIM_AT = sqg2oconst.ACTION_START_AIM_AT
|
||||
ACTION_STOP_AIM_AT = sqg2oconst.ACTION_STOP_AIM_AT
|
||||
ACTION_SCRIPT = sqg2oconst.ACTION_SCRIPT
|
||||
7
g2o/constants/reliability.py
Normal file
7
g2o/constants/reliability.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import sqg2oconst
|
||||
|
||||
UNRELIABLE = sqg2oconst.UNRELIABLE
|
||||
UNRELIABLE_SEQUENCED = sqg2oconst.UNRELIABLE_SEQUENCED
|
||||
RELIABLE = sqg2oconst.RELIABLE
|
||||
RELIABLE_ORDERED = sqg2oconst.RELIABLE_ORDERED
|
||||
RELIABLE_SEQUENCED = sqg2oconst.RELIABLE_SEQUENCED
|
||||
6
g2o/constants/skillweapon.py
Normal file
6
g2o/constants/skillweapon.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import sqg2oconst
|
||||
|
||||
WEAPON_1H = sqg2oconst.WEAPON_1H
|
||||
WEAPON_2H = sqg2oconst.WEAPON_2H
|
||||
WEAPON_BOW = sqg2oconst.WEAPON_BOW
|
||||
WEAPON_CBOW = sqg2oconst.WEAPON_CBOW
|
||||
24
g2o/constants/talent.py
Normal file
24
g2o/constants/talent.py
Normal file
@@ -0,0 +1,24 @@
|
||||
import sqg2oconst
|
||||
|
||||
TALENT_1H = sqg2oconst.TALENT_1H
|
||||
TALENT_2H = sqg2oconst.TALENT_2H
|
||||
TALENT_BOW = sqg2oconst.TALENT_BOW
|
||||
TALENT_CROSSBOW = sqg2oconst.TALENT_CROSSBOW
|
||||
TALENT_PICK_LOCKS = sqg2oconst.TALENT_PICK_LOCKS
|
||||
TALENT_PICKPOCKET = sqg2oconst.TALENT_PICKPOCKET
|
||||
TALENT_MAGE = sqg2oconst.TALENT_MAGE
|
||||
TALENT_SNEAK = sqg2oconst.TALENT_SNEAK
|
||||
TALENT_REGENERATE = sqg2oconst.TALENT_REGENERATE
|
||||
TALENT_FIREMASTER = sqg2oconst.TALENT_FIREMASTER
|
||||
TALENT_ACROBATIC = sqg2oconst.TALENT_ACROBATIC
|
||||
TALENT_PICKPOCKET_UNUSED = sqg2oconst.TALENT_PICKPOCKET_UNUSED
|
||||
TALENT_SMITH = sqg2oconst.TALENT_SMITH
|
||||
TALENT_RUNES = sqg2oconst.TALENT_RUNES
|
||||
TALENT_ALCHEMY = sqg2oconst.TALENT_ALCHEMY
|
||||
TALENT_THROPHY = sqg2oconst.TALENT_THROPHY
|
||||
TALENT_A = sqg2oconst.TALENT_A
|
||||
TALENT_B = sqg2oconst.TALENT_B
|
||||
TALENT_C = sqg2oconst.TALENT_C
|
||||
TALENT_D = sqg2oconst.TALENT_D
|
||||
TALENT_E = sqg2oconst.TALENT_E
|
||||
TALENT_MAX = sqg2oconst.TALENT_MAX
|
||||
11
g2o/constants/weaponmode.py
Normal file
11
g2o/constants/weaponmode.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import sqg2oconst
|
||||
|
||||
WEAPONMODE_NONE = sqg2oconst.WEAPONMODE_NONE
|
||||
WEAPONMODE_FIST = sqg2oconst.WEAPONMODE_FIST
|
||||
WEAPONMODE_DAG = sqg2oconst.WEAPONMODE_DAG
|
||||
WEAPONMODE_1HS = sqg2oconst.WEAPONMODE_1HS
|
||||
WEAPONMODE_2HS = sqg2oconst.WEAPONMODE_2HS
|
||||
WEAPONMODE_BOW = sqg2oconst.WEAPONMODE_BOW
|
||||
WEAPONMODE_CBOW = sqg2oconst.WEAPONMODE_CBOW
|
||||
WEAPONMODE_MAG = sqg2oconst.WEAPONMODE_MAG
|
||||
WEAPONMODE_MAX = sqg2oconst.WEAPONMODE_MAX
|
||||
4
g2o/constants/weather.py
Normal file
4
g2o/constants/weather.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import sqg2oconst
|
||||
|
||||
WEATHER_SNOW = sqg2oconst.WEATHER_SNOW
|
||||
WEATHER_RAIN = sqg2oconst.WEATHER_RAIN
|
||||
Reference in New Issue
Block a user