brodacast shoot

This commit is contained in:
2024-08-27 16:21:42 +02:00
parent 2353cbb2be
commit 89b62317d4
6 changed files with 52 additions and 12 deletions

View File

@@ -1,9 +1,9 @@
#pragma once
#include <blitz/common/Types.h>
#include <vector>
#include <godot_cpp/variant/string.hpp>
#include <godot_cpp/variant/vector3.hpp>
#include <vector>
namespace blitz {
namespace protocol {
@@ -66,7 +66,12 @@ struct PlayerPositionAndRotation {
godot::Vector3 m_Velocity;
};
struct PlayerShoot {};
struct PlayerShoot {
PlayerID m_Sender;
godot::Vector3 m_Position;
godot::Vector3 m_Rotation;
godot::Vector3 m_Velocity;
};
} // namespace data
} // namespace protocol