Engio invocation successful
This commit is contained in:
@@ -142,8 +142,8 @@ void AIntegrationGameModeBase::ExecuteDebuggingCommand(const FString &fs) {
|
|||||||
sb.write_double(3.0);
|
sb.write_double(3.0);
|
||||||
sb.write_simple_dynamic_tag(SimpleDynamicTag::STRING);
|
sb.write_simple_dynamic_tag(SimpleDynamicTag::STRING);
|
||||||
sb.write_string("Howdy");
|
sb.write_string("Howdy");
|
||||||
sb.write_simple_dynamic_tag(SimpleDynamicTag::BOOLEAN);
|
sb.write_simple_dynamic_tag(SimpleDynamicTag::VECTOR);
|
||||||
sb.write_bool(true);
|
sb.write_fvector(FVector(2,3,4));
|
||||||
std::string_view datapk = sb.view();
|
std::string_view datapk = sb.view();
|
||||||
int64 player = w.GetActor();
|
int64 player = w.GetActor();
|
||||||
w->play_invoke_engio(w.Get(), player, datapk.size(), datapk.data());
|
w->play_invoke_engio(w.Get(), player, datapk.size(), datapk.data());
|
||||||
|
|||||||
@@ -30,13 +30,13 @@ class FlxStreamBuffer : public BaseBuffer<FlxStreamBufferCore, std::string> {
|
|||||||
public:
|
public:
|
||||||
using BaseBuffer::BaseBuffer;
|
using BaseBuffer::BaseBuffer;
|
||||||
|
|
||||||
void write_dvector(const FVector &xyz) {
|
void write_fvector(const FVector &xyz) {
|
||||||
write_double(xyz.X);
|
write_double(xyz.X);
|
||||||
write_double(xyz.Y);
|
write_double(xyz.Y);
|
||||||
write_double(xyz.Z);
|
write_double(xyz.Z);
|
||||||
}
|
}
|
||||||
|
|
||||||
FVector read_dvector() {
|
FVector read_fvector() {
|
||||||
double x = read_double();
|
double x = read_double();
|
||||||
double y = read_double();
|
double y = read_double();
|
||||||
double z = read_double();
|
double z = read_double();
|
||||||
|
|||||||
Reference in New Issue
Block a user