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

33 lines
585 B
C++

//
// Created by koncord on 15.08.17.
//
#pragma once
#include <string>
#include "BaseMgr.hpp"
class LuaState;
class Player;
class Dialogue final: public BaseMgr
{
public:
static void Init(LuaState &lua);
public:
explicit Dialogue(Player *player);
void addTopic(const std::string &topicId);
std::string getTopicId(unsigned int i) const;
size_t size() const;
void playAnimation(const std::string &groupname, int mode, int count, bool persist);
void playSpeech(const std::string &sound);
void reset();
private:
void processUpdate() final;
};