Mercurial > libervia-backend
comparison frontends/src/bridge/DBus.py @ 320:5fc5e6a7e5c3
plugin Tarot: added a launch method to automatically create a new room, invite players and create the game
- xep-0249 (direct MUC invitation) is used with a custom attribute to invite other users
- bridge: added tarotGameLaunch in frontend side
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 May 2011 15:42:26 +0200 |
parents | 58d2f0c6b595 |
children | 953536246d9d |
comparison
equal
deleted
inserted
replaced
319:5bb1cfc105d0 | 320:5fc5e6a7e5c3 |
---|---|
148 return self.db_comm_iface.getRoomSubjects(profile_key) | 148 return self.db_comm_iface.getRoomSubjects(profile_key) |
149 | 149 |
150 def joinMUC(self, service, roomId, nick, profile_key='@DEFAULT@'): | 150 def joinMUC(self, service, roomId, nick, profile_key='@DEFAULT@'): |
151 return self.db_comm_iface.joinMUC(service, roomId, nick, profile_key) | 151 return self.db_comm_iface.joinMUC(service, roomId, nick, profile_key) |
152 | 152 |
153 def tarotGameLaunch(self, players, profile_key='@DEFAULT@'): | |
154 return self.db_comm_iface.tarotGameLaunch(players, profile_key) | |
155 | |
153 def tarotGameCreate(self, room_jid, players, profile_key='@DEFAULT@'): | 156 def tarotGameCreate(self, room_jid, players, profile_key='@DEFAULT@'): |
154 return self.db_comm_iface.tarotGameCreate(room_jid, players, profile_key) | 157 return self.db_comm_iface.tarotGameCreate(room_jid, players, profile_key) |
155 | 158 |
156 def tarotGameReady(self, player, referee, profile_key='@DEFAULT@'): | 159 def tarotGameReady(self, player, referee, profile_key='@DEFAULT@'): |
157 return self.db_comm_iface.tarotGameReady(player, referee, profile_key) | 160 return self.db_comm_iface.tarotGameReady(player, referee, profile_key) |