From 7d7e1ac584f27e58ef9fff6a53a94f0b94ad2fc6 Mon Sep 17 00:00:00 2001 From: Sara Date: Sat, 16 Mar 2024 20:56:36 +0100 Subject: [PATCH] feat: implemented IPlayer::get_player_id --- player.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 player.cpp diff --git a/player.cpp b/player.cpp new file mode 100644 index 0000000..4594e8e --- /dev/null +++ b/player.cpp @@ -0,0 +1,8 @@ +#include "player.hpp" + +namespace godot { +uint32_t IPlayer::get_player_id() { + return this->player_id.value_or(0); +} +} +