MCPcopy Create free account
hub / github.com/Tencent/GameAISDK / _GetDictValue

Method _GetDictValue

tools/SDKTool/libs/Module/AbstractModule.py:210–215  ·  view source on GitHub ↗
(self, dic, keyList)

Source from the content-addressed store, hash-verified

208 treeItemPoint.addChild(self.CreateTreeItem(key='y', value=pointJsonDict["y"], edit=True))
209
210 def _GetDictValue(self, dic, keyList):
211 for key in keyList:
212 if key in dic.keys():
213 return dic[key]
214
215 return None
216
217 '''
218 根据点的个数创建shape

Callers 8

LoadUIJsonMethod · 0.45
CreateGameOverItemMethod · 0.45
CreateCloseIconsItemMethod · 0.45
CreateUIStatesItemMethod · 0.45
_CreateTmplItemsMethod · 0.45
_CreateUICommItemMethod · 0.45

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected