| Safe Haskell | None |
|---|
HGamer3D.Bindings.CEGUI.ClassScriptModule
- delete :: HG3DClass -> IO ()
- executeScriptFile :: HG3DClass -> String -> String -> IO ()
- executeScriptGlobal :: HG3DClass -> String -> IO Int
- executeScriptedEventHandler :: HG3DClass -> String -> HG3DClass -> IO Bool
- executeString :: HG3DClass -> String -> IO ()
- createBindings :: HG3DClass -> IO ()
- destroyBindings :: HG3DClass -> IO ()
- getIdentifierString :: HG3DClass -> IO String
- setDefaultResourceGroup :: String -> IO ()
- getDefaultResourceGroup :: IO String
- delete'_ :: HG3DClassPtr -> IO ()
- executeScriptFile'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()
- executeScriptGlobal'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CInt -> IO ()
- executeScriptedEventHandler'_ :: HG3DClassPtr -> Ptr CChar -> HG3DClassPtr -> Ptr CInt -> IO ()
- executeString'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- createBindings'_ :: HG3DClassPtr -> IO ()
- destroyBindings'_ :: HG3DClassPtr -> IO ()
- getIdentifierString'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- setDefaultResourceGroup'_ :: Ptr CChar -> IO ()
- getDefaultResourceGroup'_ :: Ptr CChar -> IO ()
Documentation
Arguments
| :: HG3DClass | classpointer - pointer of Class instance which is going to be deleted. |
| -> IO () |
Destructor for ScriptModule
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> String | filename - String object holding the filename of the script file that is to be executed |
| -> String | resourceGroup - Resource group idendifier to be passed to the ResourceProvider when loading the script file. |
| -> IO () |
Execute a scripted global function. The function should not take any parameters and should return an integer.
Execute a script file.
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> String | function_name - String object holding the name of the function, in the global script environment, that is to be executed. |
| -> IO Int | return value - The integer value returned from the script function. |
executeScriptedEventHandlerSource
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> String | handler_name - String object holding the name of the scripted handler function. |
| -> HG3DClass | e - EventArgs based object that should be passed, by any appropriate means, to the scripted function. |
| -> IO Bool |
Execute a scripted global 'event handler' function. The function should take some kind of EventArgsEventArgs
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> String | str - String object holding the valid script code that should be executed. |
| -> IO () | return value - Nothing. |
Method called during system initialisation, prior to running any scripts via the ScriptModuleScriptModule
Execute script code contained in the given CEGUI::String object.
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> IO () | return value - Nothing. |
Method called during system destruction, after all scripts have been run via the ScriptModuleScriptModule
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> IO () | return value - Nothing. |
Return identification string for the ScriptModuleScriptModule
Arguments
| :: String | resourceGroup - String describing the default resource group identifier to be used. |
| -> IO () | return value - Nothing. |
Returns the default resource group used when loading script files.
Sets the default resource group to be used when loading script files.
delete'_ :: HG3DClassPtr -> IO ()Source
executeScriptFile'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()Source
executeScriptGlobal'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CInt -> IO ()Source
executeScriptedEventHandler'_ :: HG3DClassPtr -> Ptr CChar -> HG3DClassPtr -> Ptr CInt -> IO ()Source
executeString'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
createBindings'_ :: HG3DClassPtr -> IO ()Source
destroyBindings'_ :: HG3DClassPtr -> IO ()Source
getIdentifierString'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
setDefaultResourceGroup'_ :: Ptr CChar -> IO ()Source
getDefaultResourceGroup'_ :: Ptr CChar -> IO ()Source