feat: implemented IPlayer::get_player_id
This commit is contained in:
		
							parent
							
								
									f8f92c1513
								
							
						
					
					
						commit
						7d7e1ac584
					
				
							
								
								
									
										8
									
								
								player.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								player.cpp
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
#include "player.hpp"
 | 
			
		||||
 | 
			
		||||
namespace godot {
 | 
			
		||||
uint32_t IPlayer::get_player_id() {
 | 
			
		||||
    return this->player_id.value_or(0);
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in a new issue