This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/include/chatstack.hpp
2018-03-29 19:08:31 +02:00

35 lines
481 B
C++
Executable File

/*
* chatstack.h
*
* Created on: Jan 24, 2017
* Author: nullifiedcat
*/
#ifndef CHATSTACK_HPP_
#define CHATSTACK_HPP_
#define CHATSTACK_INTERVAL 0.8f
#include <string>
#include <stack>
#include <functional>
namespace chat_stack
{
struct msg_t
{
std::string text;
bool team;
};
void Say(const std::string &message, bool team = false);
void OnCreateMove();
void Reset();
extern std::stack<msg_t> stack;
extern float last_say;
}
#endif /* CHATSTACK_HPP_ */