-------------------------------------------------------------------------------------------------
| 45 | |
| 46 | //------------------------------------------------------------------------------------------------- |
| 47 | int CScriptObjectUI::GetScriptFunctionPtrs() |
| 48 | { |
| 49 | m_hCanRenderGame = m_pScriptSystem->GetFunctionPtr("UI", "CanRenderGame"); |
| 50 | m_hCanSwitch = m_pScriptSystem->GetFunctionPtr("UI", "CanSwitch"); |
| 51 | m_hOnSwitch = m_pScriptSystem->GetFunctionPtr("UI", "OnSwitch"); |
| 52 | m_hOnInit = m_pScriptSystem->GetFunctionPtr("UI", "OnInit"); |
| 53 | m_hOnRelease = m_pScriptSystem->GetFunctionPtr("UI", "OnRelease"); |
| 54 | m_hOnUpdate = m_pScriptSystem->GetFunctionPtr("UI", "OnUpdate"); |
| 55 | m_hOnDrawBackground = m_pScriptSystem->GetFunctionPtr("UI", "OnDrawBackground"); |
| 56 | m_hOnDrawMouseCursor= m_pScriptSystem->GetFunctionPtr("UI", "OnDrawMouseCursor"); |
| 57 | m_hOnIdle = m_pScriptSystem->GetFunctionPtr("UI", "OnIdle"); |
| 58 | |
| 59 | return 1; |
| 60 | } |
| 61 | |
| 62 | //------------------------------------------------------------------------------------------------- |
| 63 | int CScriptObjectUI::ReleaseScriptFunctionPtrs() |
nothing calls this directly
no test coverage detected