File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def onBaseAppShutDown(state):
38
38
"""
39
39
INFO_MSG ('onBaseAppShutDown: state=%i' % state )
40
40
41
- def readyForLogin (bootstrapIdx ):
41
+ def onReadyForLogin (bootstrapIdx ):
42
42
"""
43
43
KBEngine method.
44
44
如果返回值大于等于1.0则初始化全部完成, 否则返回准备的进度值0.0~1.0。
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ bool InitProgressHandler::process()
67
67
float v = 0 .0f ;
68
68
bool completed = false ;
69
69
70
- if (PyObject_HasAttrString (Baseapp::getSingleton ().getEntryScript ().get (), " readyForLogin " ) > 0 )
70
+ if (PyObject_HasAttrString (Baseapp::getSingleton ().getEntryScript ().get (), " onReadyForLogin " ) > 0 )
71
71
{
72
72
// ËùÓнű¾¶¼¼ÓÔØÍê±Ï
73
73
PyObject* pyResult = PyObject_CallMethod (Baseapp::getSingleton ().getEntryScript ().get (),
74
- const_cast <char *>(" readyForLogin " ),
74
+ const_cast <char *>(" onReadyForLogin " ),
75
75
const_cast <char *>(" i" ),
76
76
g_componentGroupOrder);
77
77
You can’t perform that action at this time.
0 commit comments