コード例 #1
0
 def toonOnline(self, avatarId, name):
     if avatarId in base.localAvatar.friends:
         whisper = WhisperPopup(self.ComingOnlineMessage % name,
                                CIGlobals.getToonFont(),
                                ChatGlobals.WTSystem)
         whisper.setClickable(name, avatarId, isPlayer=1)
         whisper.manage(base.marginManager)
         self.d_requestFriendsList()
コード例 #2
0
 def whisper(self, sender, message, name):
     whisper = WhisperPopup(name + ': ' + message, CIGlobals.getToonFont(), ChatGlobals.WTNormal)
     whisper.setClickable(name, sender, isPlayer = 1)
     whisper.manage(base.marginManager)