函数 | |
| void | exposeFormationBindings (ssq::Class &cls) |
| Result< SubjectRef > | parseScriptSubject (std::string_view text, std::string_view path) |
| Result< std::vector< SubjectRef > > | parseScriptSubjects (const std::vector< std::string > &texts) |
| Parse script UUID strings into stable subjects. @cost Linear in subject count; allocates one output vector for script boundary conversion. | |
| Value | fanOutValue (FanOutReceipt receipt) |
函数说明
◆ exposeFormationBindings()
| void eve::rts::script_internal::exposeFormationBindings | ( | ssq::Class & | cls | ) |
在文件 RTSFormationBindings.cpp 第 43 行定义.
引用了 eve::rts::CommandSpec::append, eve::rts::AttackMove, cls, columns, eve::rts::RTSReplayCommand::command, eve::rts::RTS::commandUnits(), eve::Diagnostic::error(), eve::Status::failure(), fanOutValue(), eve::rts::RTSReplayCommand::formation, eve::rts::MovementGroupBatch::formation, eve::rts::Grid, eve::rts::RTSReplayCommand::groupLeadDistance, eve::InvalidArgument, kind, eve::rts::FormationSpec::kind, eve::rts::CommandSpec::kind, eve::rts::MovementGroupBatch::leadDistance, eve::rts::Move, eve::rts::MovementGroup, eve::rts::RTSReplayCommand::operation, eve::script::projectResult(), eve::script::projectStatusResult(), eve::rts::RTS::queueScriptCommand(), rotation, spacing, eve::rts::FormationSpec::spacing, eve::rts::RTS::submitMovementGroup(), eve::rts::MovementGroupBatch::target, eve::rts::CommandSpec::target, eve::rts::RTSReplayCommand::tick, tick, eve::rts::RTSReplayCommand::units, eve::rts::MovementGroupBatch::units, vm, x , 以及 y.
◆ fanOutValue()
|
inline |
在文件 RTSScriptInternal.h 第 31 行定义.
引用了 eve::rts::FanOutReceipt::accepted, fanOutValue(), eve::rts::FanOutReceipt::orderIds , 以及 eve::rts::FanOutReceipt::requested.
被这些函数引用 exposeFormationBindings() , 以及 fanOutValue().
◆ parseScriptSubject()
|
inline |
在文件 RTSScriptInternal.h 第 8 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::SubjectRef::fromPersistentId(), eve::InvalidArgument, eve::detail::Id128< Tag >::parse(), parseScriptSubject(), path, eve::Result< T >::success() , 以及 text.
被这些函数引用 parseScriptSubject() , 以及 parseScriptSubjects().
◆ parseScriptSubjects()
|
inline |
Parse script UUID strings into stable subjects. @cost Linear in subject count; allocates one output vector for script boundary conversion.
在文件 RTSScriptInternal.h 第 20 行定义.
引用了 index, parseScriptSubject(), parseScriptSubjects() , 以及 subject.
被这些函数引用 parseScriptSubjects().