mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 05:02:31 -06:00
13 lines
481 B
Python
13 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])
|