1
This commit is contained in:
parent
10d65f3d95
commit
bfd3f58c89
@ -77,7 +77,6 @@ func (this* GameConf) InSceneWhiteList(launchObj *q5.XObject) bool {
|
|||||||
return ok
|
return ok
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (this* GameConf) InLaunchWhiteList(launchObj *q5.XObject) bool {
|
func (this* GameConf) InLaunchWhiteList(launchObj *q5.XObject) bool {
|
||||||
this.launchWhiteListMutex.Lock()
|
this.launchWhiteListMutex.Lock()
|
||||||
defer this.launchWhiteListMutex.Unlock()
|
defer this.launchWhiteListMutex.Unlock()
|
||||||
@ -86,13 +85,14 @@ func (this* GameConf) InLaunchWhiteList(launchObj *q5.XObject) bool {
|
|||||||
!launchObj.At("query").IsObject() {
|
!launchObj.At("query").IsObject() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
queryObj := launchObj.At("query")
|
return launchObj.At("query").Size() > 0;
|
||||||
|
/*queryObj := launchObj.At("query")
|
||||||
for key, _ := range(this.launchWhiteList) {
|
for key, _ := range(this.launchWhiteList) {
|
||||||
if queryObj.HasKey(key) {
|
if queryObj.HasKey(key) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false*/
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this* GameConf) Init() {
|
func (this* GameConf) Init() {
|
||||||
|
2
third_party/q5
vendored
2
third_party/q5
vendored
@ -1 +1 @@
|
|||||||
Subproject commit bc3b2825a61e30f4a4f9108c89951cbfac7f23f7
|
Subproject commit 562242ca3f859d2320252b3fce5bee06f055aa80
|
Loading…
x
Reference in New Issue
Block a user