Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
SCAnnouncement.h
1/* Renegade Scripts.dll
2 Copyright 2013 Tiberian Technologies
3
4 This file is part of the Renegade scripts.dll
5 The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version. See the file COPYING for more details.
9 In addition, an exemption is given to allow Run Time Dynamic Linking of this code with any closed source module that does not contain code covered by this licence.
10 Only the source code to the module(s) containing the licenced code has to be released.
11*/
12#ifndef TT_INCLUDE__SCANNOUNCEMENT_H
13#define TT_INCLUDE__SCANNOUNCEMENT_H
14
15#include "cNetEvent.h"
16#include "engine_ttdef.h"
17
18
19class SCAnnouncement :
20 public cNetEvent
21{
22
23 int receiptientId; // 06B4
24 int senderId; // 06B8
25 int translationId; // 06BC
26 int emoticonId; // 06C0
27 AnnouncementEnum type; // 06C4
28
29public:
30
31 virtual uint Get_Network_Class_ID() const;
32 virtual void Import_Creation(BitStreamClass& stream);
33 virtual void Export_Creation(BitStreamClass& stream);
34 virtual void Act();
35
36 SCAnnouncement();
37 ~SCAnnouncement();
38 void Init(int _receiptientId, int _senderId, int _translationId, AnnouncementEnum _type, int _emoticonId, bool dodirtybit = true, bool doact = true);
39 SCRIPTS_API void Set_Dirty_Bit_For_Team(DIRTY_BIT value, int teamId);
40
41};
42
43
44
45#endif