Beispiel #1
0
 def update(self, **kwargs):
     if 'item' in kwargs:
         self._item = self._item.replace(kwargs['item'])
     if 'gosBit' in kwargs and USER_TAG.filterSharedTags(self._tags):
         self._gos = GAME_ONLINE_STATUS.update(self._gos, kwargs['gosBit'])
     self._item.update(**kwargs)
     super(XMPPUserEntity, self).update(**kwargs)
Beispiel #2
0
 def update(self, **kwargs):
     if 'item' in kwargs:
         self._item = self._item.replace(kwargs['item'])
     if 'gosBit' in kwargs and USER_TAG.filterSharedTags(self._tags):
         self._gos = GAME_ONLINE_STATUS.update(self._gos, kwargs['gosBit'])
     self._item.update(**kwargs)
     super(XMPPUserEntity, self).update(**kwargs)
Beispiel #3
0
 def update(self, **kwargs):
     if 'gosBit' in kwargs:
         self._gos = GAME_ONLINE_STATUS.update(self._gos, kwargs['gosBit'])
     super(SharedUserEntity, self).update(**kwargs)
Beispiel #4
0
 def update(self, **kwargs):
     if 'gosBit' in kwargs:
         self._gos = GAME_ONLINE_STATUS.update(self._gos, kwargs['gosBit'])
     super(SharedUserEntity, self).update(**kwargs)