Create attractive VASL scenarios, with loads of useful information embedded to assist with game play.
https://vasl-templates.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
510 B
15 lines
510 B
4 years ago
|
""" Injected functions for SetAppConfigValRequest. """
|
||
|
|
||
|
# ---------------------------------------------------------------------
|
||
|
|
||
|
def brief( self ):
|
||
|
"""Return a SetAppConfigValRequest as a brief string."""
|
||
|
for val_type in ( "strVal", "intVal", "boolVal" ):
|
||
|
if self.HasField( val_type ):
|
||
|
val = getattr( self, val_type )
|
||
|
return "{} = {} ({})".format(
|
||
|
self.key, val, type(val).__name__
|
||
|
)
|
||
|
assert False
|
||
|
return "{} = ???".format( self.key )
|