|
|
@ -269,6 +269,7 @@ func (rr *Room) OnEventGameSingeConclude(SingleChairID int32) { // 结束-单独 |
|
|
|
|
|
|
|
var RecordInfoPlayer protocol.RecordInfoPlayer |
|
|
|
RecordInfoPlayer.ChairID = player.ChairId |
|
|
|
RecordInfoPlayer.UserNo = player.UserNo |
|
|
|
for _, poker := range player.HandPoker { |
|
|
|
RecordInfoPlayer.HandPoker = append(RecordInfoPlayer.HandPoker, int32(poker)) |
|
|
|
} |
|
|
@ -464,6 +465,7 @@ func (rr *Room) OnEventGameConclude() { // 结束-结算 |
|
|
|
|
|
|
|
var RecordInfoPlayer protocol.RecordInfoPlayer |
|
|
|
RecordInfoPlayer.ChairID = player.ChairId |
|
|
|
RecordInfoPlayer.UserNo = player.UserNo |
|
|
|
for _, poker := range player.HandPoker { |
|
|
|
RecordInfoPlayer.HandPoker = append(RecordInfoPlayer.HandPoker, int32(poker)) |
|
|
|
} |
|
|
@ -668,6 +670,7 @@ func (rr *Room) OnEventGameConcludeBX() { // 结束-保险结算 |
|
|
|
|
|
|
|
var RecordInfoPlayer protocol.RecordInfoPlayer |
|
|
|
RecordInfoPlayer.ChairID = player.ChairId |
|
|
|
RecordInfoPlayer.UserNo = player.UserNo |
|
|
|
for _, poker := range player.HandPoker { |
|
|
|
RecordInfoPlayer.HandPoker = append(RecordInfoPlayer.HandPoker, int32(poker)) |
|
|
|
} |
|
|
|