rpc: Add Last Seen to the avatar details
This commit is contained in:
parent
1bc661b0d3
commit
6ab18ca90a
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,7 @@ class ToontownRPCHandler:
|
|||
hp = fields['setHp'][0]
|
||||
maxHp = fields['setMaxHp'][0]
|
||||
dnaString = fields['setDNAString'][0]
|
||||
lastSeen = fields['setLastSeen'][0]
|
||||
|
||||
dna = ToonDNA()
|
||||
dna.makeFromNetString(dnaString)
|
||||
|
@ -112,6 +113,7 @@ class ToontownRPCHandler:
|
|||
'name': name,
|
||||
'hp': hp,
|
||||
'maxHp': maxHp,
|
||||
'lastSeen': lastSeen,
|
||||
'dna': {
|
||||
'headType': dna.head,
|
||||
'headColor': list(allColorsList[dna.headColor]),
|
||||
|
|
Loading…
Reference in a new issue