mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Opened finishLastLine to script
Opened finishLastLine to script so you can eat the rest of the lines in script.
This commit is contained in:
parent
5f0b3984fc
commit
0a76809092
1 changed files with 5 additions and 0 deletions
|
|
@ -457,6 +457,11 @@ DefineEngineMethod(TCPObject, sendFile, bool, (const char *fileName),,
|
||||||
return object->sendFile(fileName);
|
return object->sendFile(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DefineEngineMethod(TCPObject, finishLastLine, void, (),,
|
||||||
|
"@brief Eat the rest of the lines.\n")
|
||||||
|
{
|
||||||
|
object->finishLastLine();
|
||||||
|
}
|
||||||
|
|
||||||
DefineEngineMethod(TCPObject, listen, void, (U32 port),,
|
DefineEngineMethod(TCPObject, listen, void, (U32 port),,
|
||||||
"@brief Start listening on the specified port for connections.\n\n"
|
"@brief Start listening on the specified port for connections.\n\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue