![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
Definition at line 35 of file ServerScriptFileSafe.h.
Public Member Functions | |
| ScriptFileSafe () | |
| void | AddRef () const |
| void | Release () const |
| int | Open (const std::string &filename, const std::string &mode) |
| int | Close () |
| int | GetSize () const |
| bool | IsEOF () const |
| int | ReadString (unsigned int length, std::string &str) |
| int | ReadLine (std::string &str) |
| AngelScript::asINT64 | ReadInt (AngelScript::asUINT bytes) |
| AngelScript::asQWORD | ReadUInt (AngelScript::asUINT bytes) |
| float | ReadFloat () |
| double | ReadDouble () |
| int | WriteString (const std::string &str) |
| int | WriteInt (AngelScript::asINT64 v, AngelScript::asUINT bytes) |
| int | WriteUInt (AngelScript::asQWORD v, AngelScript::asUINT bytes) |
| int | WriteFloat (float v) |
| int | WriteDouble (double v) |
| int | GetPos () const |
| int | SetPos (int pos) |
| int | MovePos (int delta) |
Protected Member Functions | |
| ~ScriptFileSafe () | |
Protected Attributes | |
| int | refCount |
| Ogre::DataStreamPtr | m_stream |
| ScriptFileSafe::ScriptFileSafe | ( | ) |
Definition at line 109 of file ServerScriptFileSafe.cpp.
|
protected |
Definition at line 113 of file ServerScriptFileSafe.cpp.
| void ScriptFileSafe::AddRef | ( | ) | const |
Definition at line 117 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::Close | ( | ) |
Definition at line 172 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::GetPos | ( | ) | const |
Definition at line 187 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::GetSize | ( | ) | const |
Definition at line 180 of file ServerScriptFileSafe.cpp.
| bool ScriptFileSafe::IsEOF | ( | ) | const |
Definition at line 316 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::MovePos | ( | int | delta | ) |
Definition at line 203 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::Open | ( | const std::string & | filename, |
| const std::string & | mode | ||
| ) |
Definition at line 126 of file ServerScriptFileSafe.cpp.
| double ScriptFileSafe::ReadDouble | ( | ) |
Definition at line 298 of file ServerScriptFileSafe.cpp.
| float ScriptFileSafe::ReadFloat | ( | ) |
Definition at line 280 of file ServerScriptFileSafe.cpp.
| asINT64 ScriptFileSafe::ReadInt | ( | AngelScript::asUINT | bytes | ) |
Definition at line 235 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::ReadLine | ( | std::string & | str | ) |
Definition at line 224 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::ReadString | ( | unsigned int | length, |
| std::string & | str | ||
| ) |
Definition at line 212 of file ServerScriptFileSafe.cpp.
| asQWORD ScriptFileSafe::ReadUInt | ( | AngelScript::asUINT | bytes | ) |
Definition at line 259 of file ServerScriptFileSafe.cpp.
| void ScriptFileSafe::Release | ( | ) | const |
Definition at line 121 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::SetPos | ( | int | pos | ) |
Definition at line 194 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::WriteDouble | ( | double | v | ) |
Definition at line 375 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::WriteFloat | ( | float | v | ) |
Definition at line 360 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::WriteInt | ( | AngelScript::asINT64 | v, |
| AngelScript::asUINT | bytes | ||
| ) |
Definition at line 332 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::WriteString | ( | const std::string & | str | ) |
Definition at line 323 of file ServerScriptFileSafe.cpp.
| int ScriptFileSafe::WriteUInt | ( | AngelScript::asQWORD | v, |
| AngelScript::asUINT | bytes | ||
| ) |
Definition at line 346 of file ServerScriptFileSafe.cpp.
|
protected |
Definition at line 90 of file ServerScriptFileSafe.h.
|
mutableprotected |
Definition at line 89 of file ServerScriptFileSafe.h.