bcsfe-wrapper-python 0.1.17__py3-none-any.whl → 0.1.19__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bcsfe_wrapper/wrapper.py +9 -1
- {bcsfe_wrapper_python-0.1.17.dist-info → bcsfe_wrapper_python-0.1.19.dist-info}/METADATA +1 -1
- {bcsfe_wrapper_python-0.1.17.dist-info → bcsfe_wrapper_python-0.1.19.dist-info}/RECORD +5 -5
- {bcsfe_wrapper_python-0.1.17.dist-info → bcsfe_wrapper_python-0.1.19.dist-info}/WHEEL +0 -0
- {bcsfe_wrapper_python-0.1.17.dist-info → bcsfe_wrapper_python-0.1.19.dist-info}/top_level.txt +0 -0
bcsfe_wrapper/wrapper.py
CHANGED
|
@@ -257,7 +257,15 @@ class BCSFEWrapper:
|
|
|
257
257
|
for talent in cat.talents:
|
|
258
258
|
talent.level = talent.max_level
|
|
259
259
|
|
|
260
|
-
def unban(self):
|
|
260
|
+
def unban(self):
|
|
261
|
+
self.save_file.show_ban_message = self.save_file.banned = False
|
|
262
|
+
def remove_ads(self):
|
|
263
|
+
# 広告削除フラグを有効化
|
|
264
|
+
self.save_file.officer_pass.ad_block = True
|
|
265
|
+
self.save_file.officer_pass.ad_block_expiration = 0 # 0は永続を意味することが多い
|
|
266
|
+
# また、一部のバージョンでは以下も必要
|
|
267
|
+
if hasattr(self.save_file, "ad_removal"):
|
|
268
|
+
self.save_file.ad_removal = True
|
|
261
269
|
def get_inquiry_code(self) -> str: return self.save_file.inquiry_code
|
|
262
270
|
def edit_inquiry_code(self, new_code: str): self.save_file.inquiry_code = new_code
|
|
263
271
|
def get_save_file(self) -> core.SaveFile: return self.save_file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
bcsfe_wrapper/__init__.py,sha256=o2LbyVJjuRV1gap8wDbsv39kEUJM1rt8Lq49u1RYYXA,268
|
|
2
|
-
bcsfe_wrapper/wrapper.py,sha256=
|
|
2
|
+
bcsfe_wrapper/wrapper.py,sha256=qmyK1D-8j0vw56u41eXML9tYfc7LDWvsMVvFFksD5WQ,13170
|
|
3
3
|
bcsfe_wrapper/bcsfe/__init__.py,sha256=vCHjSoJq5u684HLQXahhtA64MZWffNHFdhweP7RM0f4,144
|
|
4
4
|
bcsfe_wrapper/bcsfe/__main__.py,sha256=Dam14Fv6L-tRRufIkIRpr69dM0b2ybU1eALJxIw_eFI,2091
|
|
5
5
|
bcsfe_wrapper/bcsfe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -198,7 +198,7 @@ bcsfe_wrapper/bcsfe/files/locales/vi/edits/treasures.properties,sha256=U9uKsF4y0
|
|
|
198
198
|
bcsfe_wrapper/bcsfe/files/locales/vi/edits/user_rank.properties,sha256=FcldhzKM0UmuhmGzI3dGzxstuKcw-t-gkbmKLZT4VKg,603
|
|
199
199
|
bcsfe_wrapper/bcsfe/files/themes/default.json,sha256=w8eqqd9ATIFwUcvOWTdJjyd1T3LGgUm3iVkJhT5wfEo,392
|
|
200
200
|
bcsfe_wrapper/bcsfe/files/themes/discord.json,sha256=W1dtEev6tap_waHOxvSqENDcMRA9jfBvjW7t-ssdGs4,370
|
|
201
|
-
bcsfe_wrapper_python-0.1.
|
|
202
|
-
bcsfe_wrapper_python-0.1.
|
|
203
|
-
bcsfe_wrapper_python-0.1.
|
|
204
|
-
bcsfe_wrapper_python-0.1.
|
|
201
|
+
bcsfe_wrapper_python-0.1.19.dist-info/METADATA,sha256=0YxRBrtuRId10TgIO17vKBd-YYXnzg95J1vgEMCrWnk,4327
|
|
202
|
+
bcsfe_wrapper_python-0.1.19.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
203
|
+
bcsfe_wrapper_python-0.1.19.dist-info/top_level.txt,sha256=kqyMKpAdNg39_kGGtqsxOSLPIb-qx7R1mQj1hReUsYM,14
|
|
204
|
+
bcsfe_wrapper_python-0.1.19.dist-info/RECORD,,
|
|
File without changes
|
{bcsfe_wrapper_python-0.1.17.dist-info → bcsfe_wrapper_python-0.1.19.dist-info}/top_level.txt
RENAMED
|
File without changes
|