Don't send trophies on result

This commit is contained in:
John 2015-08-12 14:55:03 +03:00
parent 41307f6a0f
commit c7011bc757
3 changed files with 3 additions and 4 deletions

View file

@ -3201,7 +3201,7 @@ dclass TTSFriendsManager : DistributedObjectGlobal {
goingOffline(uint32 avId); goingOffline(uint32 avId);
getAvatarDetails(uint32) clsend; getAvatarDetails(uint32) clsend;
friendDetails(uint32, blob, uint16[], uint16, int16, int16, uint32, uint32, blob, blob, int8[]); friendDetails(uint32, blob, uint16[], int16, int16, uint32, uint32, blob, blob, int8[]);
getPetDetails(uint32) clsend; getPetDetails(uint32) clsend;
petDetails(uint32, uint32, string, uint32, uint32, uint16/1000[], PetTrait[], int8[], uint32); petDetails(uint32, uint32, string, uint32, uint32, uint16/1000[], PetTrait[], int8[], uint32);

View file

@ -21,7 +21,7 @@ class TTSFriendsManager(DistributedObjectGlobal):
def d_getAvatarDetails(self, avId): def d_getAvatarDetails(self, avId):
self.sendUpdate('getAvatarDetails', [avId]) self.sendUpdate('getAvatarDetails', [avId])
def friendDetails(self, avId, inventory, trackAccess, trophies, hp, maxHp, defaultShard, lastHood, dnaString, experience, trackBonusLevel): def friendDetails(self, avId, inventory, trackAccess, hp, maxHp, defaultShard, lastHood, dnaString, experience, trackBonusLevel):
fields = [ fields = [
['setExperience' , experience], ['setExperience' , experience],
['setTrackAccess' , trackAccess], ['setTrackAccess' , trackAccess],

View file

@ -191,7 +191,6 @@ class TTSFriendsManagerUD(DistributedObjectGlobalUD):
return return
inventory = fields['setInventory'][0] inventory = fields['setInventory'][0]
trackAccess = fields['setTrackAccess'][0] trackAccess = fields['setTrackAccess'][0]
trophies = 0 # fields['setTrophyScore'][0] is not db
hp = fields['setHp'][0] hp = fields['setHp'][0]
maxHp = fields['setMaxHp'][0] maxHp = fields['setMaxHp'][0]
defaultShard = fields['setDefaultShard'][0] defaultShard = fields['setDefaultShard'][0]
@ -200,7 +199,7 @@ class TTSFriendsManagerUD(DistributedObjectGlobalUD):
experience = fields['setExperience'][0] experience = fields['setExperience'][0]
trackBonusLevel = fields['setTrackBonusLevel'][0] trackBonusLevel = fields['setTrackBonusLevel'][0]
self.sendUpdateToAvatarId(senderId, 'friendDetails', [avId, inventory, trackAccess, trophies, hp, maxHp, defaultShard, lastHood, dnaString, experience, trackBonusLevel]) self.sendUpdateToAvatarId(senderId, 'friendDetails', [avId, inventory, trackAccess, hp, maxHp, defaultShard, lastHood, dnaString, experience, trackBonusLevel])
self.air.dbInterface.queryObject(self.air.dbId, avId, handleToon) self.air.dbInterface.queryObject(self.air.dbId, avId, handleToon)
def getPetDetails(self, avId): def getPetDetails(self, avId):