-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdelayedclientcmd.h
More file actions
43 lines (32 loc) · 1000 Bytes
/
delayedclientcmd.h
File metadata and controls
43 lines (32 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef _DELAYED_CLIENTCMD_H
#define _DELAYED_CLIENTCMD_H
#include "includes.h"
/*
TigerSnail Hack: Source
Developed by sk0r / Czybik
Credits: sk0r, OllyDbg, Source SDK
Version: 0.5
Visit: http://sk0r.sytes.net
Mail Czybik_Stylez<0x40>gmx<0x2E>de
File: delayedclientcmd.h: Delayed client cmd interface
*/
//======================================================================
struct dcc_data_s {
std::string szExpression;
unsigned int dwDelay;
unsigned int dwTmrInit, dwTmrCur;
};
//======================================================================
//======================================================================
class CDelayedClientCmd {
private:
std::vector<dcc_data_s> m_vItems;
void Clear(void);
public:
CDelayedClientCmd() {}
~CDelayedClientCmd() { this->Clear(); }
bool AddClientCmd(const std::string& szCommandString, const unsigned int uiDelay);
void Process(void);
};
//======================================================================
#endif