mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
This new system allows to create a user interface that goes beyond the existing UI system.
28 lines
317 B
C++
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);
|
|
|
|
}
|
|
}
|
|
|
|
|