mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-31 03:39:04 +08:00
Syncing latest changes between public/private.
This commit is contained in:
parent
4c11316cd0
commit
2dce23612a
1
.idea/dictionaries/ericf.xml
generated
1
.idea/dictionaries/ericf.xml
generated
@ -86,6 +86,7 @@
|
||||
<w>assetbundle</w>
|
||||
<w>assetcache</w>
|
||||
<w>assetdata</w>
|
||||
<w>assetfiles</w>
|
||||
<w>assetpack</w>
|
||||
<w>assetpackage</w>
|
||||
<w>assetpackput</w>
|
||||
|
||||
@ -48,15 +48,9 @@ class AssetType(Enum):
|
||||
DATA = 'data'
|
||||
|
||||
|
||||
class AssetInfo(entity.CompoundValue):
|
||||
"""Info for a specific asset file in a package."""
|
||||
filehash = entity.Field('h', entity.StringValue())
|
||||
fileext = entity.Field('e', entity.StringValue())
|
||||
|
||||
|
||||
class AssetPackageFlavorManifestValue(entity.CompoundValue):
|
||||
"""A manifest of asset info for a specific flavor of an asset package."""
|
||||
assets = entity.CompoundDictField('a', str, AssetInfo())
|
||||
assetfiles = entity.DictField('assetfiles', str, entity.StringValue())
|
||||
|
||||
|
||||
class AssetPackageFlavorManifest(entity.EntityMixin,
|
||||
@ -66,4 +60,14 @@ class AssetPackageFlavorManifest(entity.EntityMixin,
|
||||
|
||||
class AssetPackageBuildState(entity.Entity):
|
||||
"""Contains info about an in-progress asset cloud build."""
|
||||
|
||||
# Asset names still being built.
|
||||
in_progress_builds = entity.ListField('b', entity.StringValue())
|
||||
|
||||
# The initial number of assets needing to be built.
|
||||
initial_build_count = entity.Field('c', entity.IntValue())
|
||||
|
||||
# Build error string. If this is present, it should be presented
|
||||
# to the user and they should required to explicitly restart the build
|
||||
# in some way if desired.
|
||||
error = entity.Field('e', entity.OptionalStringValue())
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<!-- THIS FILE IS AUTO GENERATED; DO NOT EDIT BY HAND -->
|
||||
<!--DOCSHASH=a17e7abfc5ab7bf18ceac832fb0825ea-->
|
||||
<h4><em>last updated on 2020-02-05 for Ballistica version 1.5.0 build 20001</em></h4>
|
||||
<!--DOCSHASH=fe9431fb6bf549f08e65d5554359ddab-->
|
||||
<h4><em>last updated on 2020-02-15 for Ballistica version 1.5.0 build 20001</em></h4>
|
||||
<p>This page documents the Python classes and functions in the 'ba' module,
|
||||
which are the ones most relevant to modding in Ballistica. If you come across something you feel should be included here or could be better explained, please <a href="mailto:support@froemling.net">let me know</a>. Happy modding!</p>
|
||||
<hr>
|
||||
|
||||
@ -416,6 +416,10 @@ class App:
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
App().run()
|
||||
except KeyboardInterrupt:
|
||||
# Let's do a clean fail on keyboard interrupt.
|
||||
# Can make this optional if a backtrace is ever useful..
|
||||
sys.exit(-1)
|
||||
except CleanError as exc:
|
||||
if str(exc):
|
||||
print(f'{CLRRED}{exc}{CLREND}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user