Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Chat.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 namespace halo {
6  struct s_player;
7  namespace server { namespace chat {
8 
10  {
11  // important: don't reorder!
12  kChatAll = 0,
15  kChatServer, // phasor only
16  kChatPrivate, // phasor only
17  };
18 
19 #pragma pack(push, 1)
20  struct s_chat_data
21  {
23  unsigned long player;
24  const wchar_t* msg;
25  };
26 
27 #pragma pack(pop)
28 
29  void DispatchChat(e_chat_types type, const wchar_t* msg,
30  const s_player* from=NULL, const s_player* to=NULL);
31 }}}
32