Subversion Repositories WoWGM

Rev

Rev 31 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31 Rev 32
Line 5... Line 5...
5
enum ACTIONTYPE {
5
enum ACTIONTYPE {
6
	ACTION_NULL	= 0
6
	ACTION_NULL	= 0
7
};
7
};
8
 
8
 
9
 
9
 
10
namespace WowGM {
-
 
11
 
-
 
12
	namespace CGGameUI {
-
 
13
 
-
 
14
		//=======================================================================
-
 
15
		void Initialize ();
-
 
16
 
-
 
17
		//=======================================================================
-
 
18
		void Shutdown ();
-
 
19
 
-
 
20
	}
-
 
21
 
-
 
22
}
-
 
23
 
-
 
24
class CGGameUI {
10
class CGGameUI {
25
 
11
 
26
	public:
12
	public:
27
 
13
 
28
		//=======================================================================
14
		//=======================================================================
29
		static bool CanPerformAction (ACTIONTYPE action);
15
		static bool CanPerformAction (ACTIONTYPE action);
-
 
16
 
-
 
17
    //===========================================================================
-
 
18
    static void Initialize ();
30
		
19
		
31
		//=======================================================================
20
		//=======================================================================
32
		static void RegisterConsoleCommands ();
21
		static void RegisterConsoleCommands ();
33
 
22
 
34
		//=======================================================================
23
    //=======================================================================
35
		static void UnregisterConsoleCommands ();
24
    static void RegisterScriptFunctions ();
-
 
25
 
-
 
26
    //===========================================================================
-
 
27
    static void Shutdown ();
36
 
28
 
37
		//=======================================================================
29
		//=======================================================================
38
		static void RegisterScriptFunctions ();
30
		static void UnregisterConsoleCommands ();
39
 
31
 
40
		//=======================================================================
32
		//=======================================================================
41
		static void UnregisterScriptFunctions ();
33
		static void UnregisterScriptFunctions ();
42
 
34
 
-
 
35
  private:
-
 
36
 
-
 
37
    //===========================================================================
-
 
38
    static void InitializeProc ();
-
 
39
 
-
 
40
    //===========================================================================
-
 
41
    static void ShutdownProc ();
-
 
42
 
43
};
43
};
44
 
44
 
45
 
45
 
46
#endif // ifndef _GAMEUI_H_
46
#endif // ifndef _GAMEUI_H_
-
 
47