mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 12:44:46 +00:00
25 lines
731 B
C
25 lines
731 B
C
#ifndef _CONSOLFUNCTIONS_H_
|
|
#define _CONSOLFUNCTIONS_H_
|
|
|
|
#ifndef _STRINGFUNCTIONS_H_
|
|
#include "core/strings/stringFunctions.h"
|
|
#endif
|
|
|
|
bool isInt(const char* str);
|
|
|
|
bool isFloat(const char* str);
|
|
|
|
bool isValidIP(const char* ip);
|
|
|
|
bool isValidPort(U16 port);
|
|
|
|
void gotoWebPage(const char* address);
|
|
|
|
bool getDocsURL(void* obj, const char* array, const char* data);
|
|
const char* getDocsLink(const char* filename, U32 lineNumber);
|
|
|
|
#define docsURL addGroup("Ungrouped");\
|
|
addProtectedField("docsURL", TypeBool, Offset(mDocsClick, ConsoleObject), &getDocsURL, &defaultProtectedGetFn, getDocsLink(__FILE__,__LINE__), AbstractClassRep::FieldFlags::FIELD_ComponentInspectors);\
|
|
endGroup("Ungrouped")
|
|
#endif
|