03ea8f393c39169ad368a8fed61e1daf0037b333,doudizhu/apps/game/player.py,Player,handle_call_score,#Player#Any#,133
Before Change
call_end = self.room.is_rob_end()
response = [Pt.RSP_CALL_SCORE, self.uid, self.rob, call_end]
for p in self.room.players:
p.write_message(response)
if call_end:
self.change_state(State.PLAYING)
self.room.sync_rob_end()
else:
After Change
"landlord": self.room.landlord.uid if is_end else -1,
"pokers": self.room.pokers if is_end else [],
}]
self.room.broadcast(response)
else:
logging.info("ERROR STATE[%s] PACKET %s", self.state, packet)
@shot_turn
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: mailgyc/doudizhu
Commit Name: 03ea8f393c39169ad368a8fed61e1daf0037b333
Time: 2020-02-19
Author: 4143964+mailgyc@users.noreply.github.com
File Name: doudizhu/apps/game/player.py
Class Name: Player
Method Name: handle_call_score
Project Name: mailgyc/doudizhu
Commit Name: d36e7ac67679e078575b44320deac06d9121f920
Time: 2020-02-20
Author: 4143964+mailgyc@users.noreply.github.com
File Name: doudizhu/apps/game/player.py
Class Name: Player
Method Name: sync_room
Project Name: mailgyc/doudizhu
Commit Name: 0bcec11fa4ce520a9fb5bdfc5cb4b640567d8ce9
Time: 2020-02-20
Author: 4143964+mailgyc@users.noreply.github.com
File Name: doudizhu/apps/game/player.py
Class Name: Player
Method Name: handle_playing