Files
fs2open.github.com/code/scripting/api/objs/player.h
T
asarium 7173299ca7 Add new libRocket UI system
This new system allows to create a user interface that goes beyond the
existing UI system.
2018-09-16 13:55:29 +02:00

28 lines
317 B
C++

#pragma once
#include "playerman/player.h"
#include "scripting/ade_api.h"
namespace scripting {
namespace api {
class player_h {
player *_plr = nullptr;
public:
player_h();
player_h(const player& plr);
bool isValid() const;
player* get();
void cleanup();
};
DECLARE_ADE_OBJ(l_Player, player_h);
}
}