Changeset 83:f31da5d1718d in xplra for src/client/python
- Timestamp:
- 05/12/13 05:17:35 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/client/python/xplra.py
r70 r83 49 49 ## Protocol command: reload all plugins 50 50 COMMAND_RELOAD_PLUGINS = 0x32 51 52 ## Protocol command: save the current situation into a file 53 COMMAND_SAVE_SITUATION = 0x33 51 54 52 55 ## Protocol command: show a message to the pilot … … 351 354 After this, this connection becomes invalid.""" 352 355 self._writeU8(COMMAND_RELOAD_PLUGINS) 356 self._flush() 357 self._checkResult(); 358 359 def saveSituation(self, path): 360 """Save the current situation into the given path.""" 361 self._writeU8(COMMAND_SAVE_SITUATION) 362 self._writeString(path) 353 363 self._flush() 354 364 self._checkResult();
Note:
See TracChangeset
for help on using the changeset viewer.