载入中...
搜索中...
未找到
WorldSnapshotParsing.h 文件参考
#include "common/Result.h"
#include "common/Snapshot.h"
#include <initializer_list>
#include <string>
#include <string_view>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 
namespace  eve::physics::snapshot_detail
 

函数

bool eve::physics::snapshot_detail::hasExactFields (const Value::Object &object, std::initializer_list< std::string_view > expected)
 Internal exact-field schema predicate.
 
const Value * eve::physics::snapshot_detail::field (const Value::Object &object, std::string_view name)
 Borrow an optional field only during the current synchronous codec call. @ownership Object owns the result; nullable on absence, invalid after object mutation/destruction. @thread Calling thread; no callbacks or retained references.
 
Result< std::string > eve::physics::snapshot_detail::readString (const eve::Value::Object &object, std::string_view name)
 Reads a required owning string.
 
Result< std::uint64_t > eve::physics::snapshot_detail::readUint64 (const eve::Value::Object &object, std::string_view name)
 Reads a required unsigned decimal integer string.
 
Result< std::int64_t > eve::physics::snapshot_detail::readInt64 (const eve::Value::Object &object, std::string_view name)
 Reads a required signed decimal integer string.
 
eve::Result< double > eve::physics::snapshot_detail::readNumber (const eve::Value::Object &object, std::string_view name)
 Reads a required finite number.
 
Result< float > eve::physics::snapshot_detail::readFloat (const eve::Value::Object &object, std::string_view name)
 Reads a required finite number representable by float.
 
Result< bool > eve::physics::snapshot_detail::readBool (const eve::Value::Object &object, std::string_view name)
 Reads a required boolean.