Compare commits

..

No commits in common. "9cdc0f24c7f2e8f61862cd0432b52b62faddbf7e" and "c4d58262de8010f6fb3d5dd9a73285513a7453a7" have entirely different histories.

7 changed files with 5 additions and 28 deletions

Binary file not shown.

View File

@ -6674,7 +6674,7 @@
0 0
], ],
"OtherIntParams": [ "OtherIntParams": [
0 1
], ],
"RobotNumRng": [ "RobotNumRng": [
0 0
@ -6707,7 +6707,7 @@
0 0
], ],
"OtherIntParams": [ "OtherIntParams": [
0 1
], ],
"RobotNumRng": [ "RobotNumRng": [
0 0
@ -6740,7 +6740,7 @@
0 0
], ],
"OtherIntParams": [ "OtherIntParams": [
1 2
], ],
"RobotNumRng": [ "RobotNumRng": [
0 0
@ -6773,7 +6773,7 @@
0 0
], ],
"OtherIntParams": [ "OtherIntParams": [
1 2
], ],
"RobotNumRng": [ "RobotNumRng": [
0 0

Binary file not shown.

Binary file not shown.

View File

@ -102,35 +102,12 @@ func (this *SceneEx) BroadcastPlayerLeave(p *base.Player, reason int) {
// 玩家进入事件 // 玩家进入事件
func (this *SceneEx) OnPlayerEnter(p *base.Player, reason int) { func (this *SceneEx) OnPlayerEnter(p *base.Player, reason int) {
this.BroadcastPlayerEnter(p, reason) this.BroadcastPlayerEnter(p, reason)
machineId := this.GetDBGameFree().GetId() % 6080000
machineInfo := this.GetMachineServerInfo(machineId, p.Platform)
if machineInfo == nil {
return
}
if this.GetPlayerNum() > 0 {
// 发送http Get请求 打开直播间流
}
} }
// 玩家离开事件 // 玩家离开事件
func (this *SceneEx) OnPlayerLeave(p *base.Player, reason int) { func (this *SceneEx) OnPlayerLeave(p *base.Player, reason int) {
this.delPlayer(p) this.delPlayer(p)
this.BroadcastPlayerLeave(p, reason) this.BroadcastPlayerLeave(p, reason)
machineId := this.GetDBGameFree().GetId() % 6080000
machineInfo := this.GetMachineServerInfo(machineId, p.Platform)
if machineInfo == nil {
return
}
if this.GetPlayerNum() <= 0 {
// 发送http Get请求 关闭直播间流
}
} }
func (this *SceneEx) SceneDestroy(force bool) { func (this *SceneEx) SceneDestroy(force bool) {
//销毁房间 //销毁房间

2
public

@ -1 +1 @@
Subproject commit 00b9fce886af5b6a926aa804d3cad33be9ea0793 Subproject commit fd8bef907ea15489504529da70f72038444b54e0

Binary file not shown.