KBEngine编码提示
Project description
KBEngine_tips
- 0x01 介绍
KEBengine 是一款开源的MMOG游戏服务端引擎,在编辑游戏逻辑时需要使用KEBengine提供的函数. 由于编辑器不能检索到KEBengine提供的函数,导致没有自动提示.该项目提供KEBengine的相关函数,提供提示能力.
- 0x02 安装
pip install kbengine_tips
- 0x03 使用
在需要导入KBEngine的地方,加入如下代码
try:
import KBEngine
except ImportError:
# 这里这样做就是为了编码方便
# 实际代码运行的时候是不会走到这里的
from kbengine_tips.BaseApp import KBEngine
在编辑代码是,因为import KBEngine会报错,所以会使用下面的from kbengine_tips.BaseApp import KBEngine代码.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kbengine_tips-1.2.0.tar.gz
(53.5 kB
view details)
Built Distribution
File details
Details for the file kbengine_tips-1.2.0.tar.gz
.
File metadata
- Download URL: kbengine_tips-1.2.0.tar.gz
- Upload date:
- Size: 53.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 950d8be5e747fe3b73915e9665d1f8d3d00b08c17f177653b0e4c1b11d3cb7aa |
|
MD5 | 9efd036e67d20683a4d621db69664c55 |
|
BLAKE2b-256 | 36654367126aa0cdb372ab54875cf7ba8879235b16093cedff5ecd55e188d93a |
File details
Details for the file kbengine_tips-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: kbengine_tips-1.2.0-py3-none-any.whl
- Upload date:
- Size: 66.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a31341f1c57d7e9399607836d1337cf41aeb7fdae2904992de895d6231d9cac |
|
MD5 | 9db5cb969a22dfa94f14e6683d89641f |
|
BLAKE2b-256 | 54253584164ec41bf83f18aebca1422a76eb6396717bb9bd31ba409e0c6d9361 |