mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 16:57:54 +00:00
12 lines
481 B
Python
12 lines
481 B
Python
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])
|