historical/toontown-classic.git/toontown/friends/TTPlayerFriendsManager.py

13 lines
481 B
Python
Raw Normal View History

2024-01-16 11:20:27 -06:00
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
from direct.directnotify.DirectNotifyGlobal import directNotify
from otp.otpbase import OTPGlobals
from otp.friends.PlayerFriendsManager import PlayerFriendsManager
class TTPlayerFriendsManager(PlayerFriendsManager):
def __init__(self, cr):
PlayerFriendsManager.__init__(self, cr)
def sendRequestInvite(self, playerId):
self.sendUpdate('requestInvite', [0, playerId, False])