载入中...
搜索中...
未找到
WarshipTypes.h 文件参考
#include "common/Export.h"
#include "common/ECS.h"
#include <cstdint>
#include <ostream>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::warship::CompartmentCell
 One cell of a hull's compartment grid. 更多...
 
struct  eve::warship::CompartmentGrid
 Rectangular compartment grid owned by a hull definition / entity. 更多...
 
struct  eve::warship::LayoutSeed
 One default layout entry applied when a hull is spawned. 更多...
 
struct  eve::warship::CompartmentFunctionDef
 Compartment function catalogue entry. 更多...
 
struct  eve::warship::WarshipDefinition
 Hull template registered through Warship::registerHullsFromJson. 更多...
 
struct  eve::warship::WarshipCapabilities
 Aggregated capabilities projected from the live compartment layout. 更多...
 
struct  eve::warship::WarshipEvent
 One warship event (frame cache). 更多...
 
class  eve::warship::IWarshipMobility
 Pluggable hull mobility (surface / sail / carrier / space / custom). 更多...
 
class  eve::warship::WarshipEntity
 Warship short-root entity: huge hull + rearrangeable compartments. 更多...
 
struct  eve::warship::WarshipEntity::Identity
 Stable instance id / template id / faction / category. 更多...
 
struct  eve::warship::WarshipEntity::Definition
 Borrowed definition pointer (registry owns the template). 更多...
 
struct  eve::warship::WarshipEntity::Input
 Per-frame helm input. 更多...
 
struct  eve::warship::WarshipEntity::Motion
 2D kinematic motion (world XY, heading in degrees). 更多...
 
struct  eve::warship::WarshipEntity::Health
 Hull integrity. 更多...
 
struct  eve::warship::WarshipEntity::Hull
 Physical envelope (copied from definition at spawn). 更多...
 
struct  eve::warship::WarshipEntity::Layout
 Live compartment occupancy; authoritative owner of layout cells. 更多...
 
struct  eve::warship::WarshipEntity::Capabilities
 Cached projection of Layout through the function catalogue. 更多...
 
struct  eve::warship::WarshipEntity::Flags
 Lifecycle flags. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::warship
 Warship module entry (eve.Warship): hull/function catalogues, spawn, compartment remodel, helm orders, and frame update.
 

枚举

enum class  eve::warship::WarshipEventType : uint8_t {
  eve::warship::Arrived , eve::warship::LayoutChanged , eve::warship::Damaged , eve::warship::Destroyed ,
  eve::warship::Underpowered
}
 Frame-buffered warship events for script polling. 更多...
 

函数

const char * eve::warship::warshipEventTypeName (WarshipEventType type)
 Stable event type protocol name.
 
std::ostream & eve::warship::operator<< (std::ostream &stream, WarshipEventType type)
 

变量

constexpr const char * eve::warship::kMobilitySurface = "surface"
 Built-in mobility model names used by hull definitions.
 
constexpr const char * eve::warship::kMobilitySail = "sail"
 
constexpr const char * eve::warship::kMobilityCarrier = "carrier"
 
constexpr const char * eve::warship::kMobilitySpace = "space"
 
constexpr const char * eve::warship::kCategoryWarship = "warship"
 Documented hull category conventions (free string; not an enum).
 
constexpr const char * eve::warship::kCategorySailship = "sailship"
 
constexpr const char * eve::warship::kCategoryCarrier = "carrier"
 
constexpr const char * eve::warship::kCategoryStarship = "starship"