mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Document use of interaction 'Epoch'
This commit is contained in:
parent
b13a3bf583
commit
1e736fe066
@ -106,7 +106,8 @@ If EDMC is started while the game is already running EDMC will send the last few
|
|||||||
|
|
||||||
```
|
```
|
||||||
def interaction(cmdr, entry):
|
def interaction(cmdr, entry):
|
||||||
sys.stderr.write("Interacted: {} with Cmdr {}\n".format(', '.join(entry['Interactions']), entry['Name'].encode('utf-8'))
|
# Log type of interaction, Cmdr name, and local time
|
||||||
|
sys.stderr.write("{} Cmdr {}\n".format(', '.join(entry['Interactions']), entry['Name'].encode('utf-8'), , time.strftime('%Y-%m-%dT%H:%M:%S', time.localtime(entry['Epoch'] - 11644473600))))
|
||||||
```
|
```
|
||||||
|
|
||||||
### Getting Commander Data
|
### Getting Commander Data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user