Compare commits
No commits in common. "9cdc0f24c7f2e8f61862cd0432b52b62faddbf7e" and "c4d58262de8010f6fb3d5dd9a73285513a7453a7" have entirely different histories.
9cdc0f24c7
...
c4d58262de
Binary file not shown.
|
@ -6674,7 +6674,7 @@
|
|||
0
|
||||
],
|
||||
"OtherIntParams": [
|
||||
0
|
||||
1
|
||||
],
|
||||
"RobotNumRng": [
|
||||
0
|
||||
|
@ -6707,7 +6707,7 @@
|
|||
0
|
||||
],
|
||||
"OtherIntParams": [
|
||||
0
|
||||
1
|
||||
],
|
||||
"RobotNumRng": [
|
||||
0
|
||||
|
@ -6740,7 +6740,7 @@
|
|||
0
|
||||
],
|
||||
"OtherIntParams": [
|
||||
1
|
||||
2
|
||||
],
|
||||
"RobotNumRng": [
|
||||
0
|
||||
|
@ -6773,7 +6773,7 @@
|
|||
0
|
||||
],
|
||||
"OtherIntParams": [
|
||||
1
|
||||
2
|
||||
],
|
||||
"RobotNumRng": [
|
||||
0
|
||||
|
|
Binary file not shown.
BIN
data/DB_Task.dat
BIN
data/DB_Task.dat
Binary file not shown.
|
@ -102,35 +102,12 @@ func (this *SceneEx) BroadcastPlayerLeave(p *base.Player, reason int) {
|
|||
// 玩家进入事件
|
||||
func (this *SceneEx) OnPlayerEnter(p *base.Player, reason int) {
|
||||
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) {
|
||||
this.delPlayer(p)
|
||||
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) {
|
||||
//销毁房间
|
||||
|
|
2
public
2
public
|
@ -1 +1 @@
|
|||
Subproject commit 00b9fce886af5b6a926aa804d3cad33be9ea0793
|
||||
Subproject commit fd8bef907ea15489504529da70f72038444b54e0
|
Binary file not shown.
Loading…
Reference in New Issue