mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
This commit is contained in:
parent
378a933894
commit
acb192e2a5
133 changed files with 1716 additions and 2087 deletions
|
|
@ -245,6 +245,19 @@ struct EngineUnmarshallData< F32 >
|
|||
}
|
||||
};
|
||||
template<>
|
||||
struct EngineUnmarshallData< U8 >
|
||||
{
|
||||
U8 operator()( ConsoleValueRef &ref ) const
|
||||
{
|
||||
return (U8)((S32)ref);
|
||||
}
|
||||
|
||||
U8 operator()( const char* str ) const
|
||||
{
|
||||
return dAtoui( str );
|
||||
}
|
||||
};
|
||||
template<>
|
||||
struct EngineUnmarshallData< const char* >
|
||||
{
|
||||
const char* operator()( const char* str ) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue