コード例 #1
0
 def on_thanks_clicked(self):
     window_id = client.find_path_of_exile_window()
     client.type_chat_message(window_id, f'@{self.data["buyer"]} Thanks!')
     client.type_chat_message(window_id, f'/kick {self.data["buyer"]}')
コード例 #2
0
 def on_invite_clicked(self):
     window_id = client.find_path_of_exile_window()
     client.type_chat_message(window_id, f'/invite {self.data["buyer"]}')
コード例 #3
0
 def on_trade_clicked(self):
     window_id = client.find_path_of_exile_window()
     client.type_chat_message(window_id, f'/tradewith {self.data["buyer"]}')
コード例 #4
0
 def on_whisper_clicked(self):
     window_id = client.find_path_of_exile_window()
     client.type_chat_message(window_id,
                              f'@{self.data["buyer"]} ',
                              submit=False)