Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(4) | Call(4) | Derive(0) | Import(0)
Queue an event for processing
src/b/3/b3-1.9.2/b3/parsers/bf3.py b3(Download)
self.debug('client %s found on the server' % cid) client = self.clients.newClient(cid, guid=p['name'], name=name, team=p['teamId'], squad=p['squadId'], data=p) self.queueEvent(b3.events.Event(b3.events.EVT_CLIENT_JOIN, p, client))
squadId = p['squadId'] client = self.clients.newClient(cid, guid=guid, name=name, team=self.getTeam(teamId), teamId=int(teamId), squad=squadId, data=p) self.queueEvent(b3.events.Event(b3.events.EVT_CLIENT_JOIN, p, client)) return client
src/b/i/big-brother-bot-HEAD/b3/parsers/bf3.py big-brother-bot(Download)
self.debug('client %s found on the server' % cid) client = self.clients.newClient(cid, guid=p['name'], name=name, team=p['teamId'], squad=p['squadId'], data=p) self.queueEvent(b3.events.Event(b3.events.EVT_CLIENT_JOIN, p, client))
squadId = p['squadId'] client = self.clients.newClient(cid, guid=guid, name=name, team=self.getTeam(teamId), teamId=int(teamId), squad=squadId, data=p) self.queueEvent(b3.events.Event(b3.events.EVT_CLIENT_JOIN, p, client)) return client