You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3coop/apps/openmw-mp/Dialogue.hpp

31 lines
440 B
C++

//
// Created by koncord on 15.08.17.
//
#pragma once
#include <string>
class LuaState;
class Player;
class Dialogue
{
public:
static void Init(LuaState &lua);
public:
explicit Dialogue(Player *player);
void addTopic(const std::string &topicId);
std::string getTopicId(unsigned int i) const;
unsigned int getChanges() const;
void reset();
void update();
private:
Player *player;
bool changed;
};