mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-27 05:32:41 -06: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])
|