Esempio n. 1
0
 def kick_from_all(self, char_id):
     for _id, conn in self.bot.get_conns():
         if char_id in conn.private_channel:
             conn.send_packet(client_packets.PrivateChannelKick(char_id))
Esempio n. 2
0
 def kick(self, char_id):
     if char_id != self.bot.get_char_id():
         self.bot.send_packet(client_packets.PrivateChannelKick(char_id))
Esempio n. 3
0
 def kick(self, char_id, conn: Conn):
     if char_id != conn.char_id:
         conn.send_packet(client_packets.PrivateChannelKick(char_id))