-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSyncLoad.h
More file actions
51 lines (41 loc) · 1.18 KB
/
CSyncLoad.h
File metadata and controls
51 lines (41 loc) · 1.18 KB
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
44
45
46
47
48
49
50
51
#ifndef H_CLASS_SYNC_LOAD___
#define H_CLASS_SYNC_LOAD___
#include "windows.h"
#include "TCHAR.h"
#include <assert.h>
#include <vector>
#include "util.h"
#include "../include/define.h"
#include "../include/types.h"
#include "PacketMaker.h"
#include "CSyncProc.h"
#include "CNetworkSession.h"
class CSyncLoad : public CSyncProc
{
public:
CSyncLoad();
virtual ~CSyncLoad();
virtual BOOL Init(CNetworkSession* pNetSess);
virtual void Clear(){};
// 戻り値:パケットありなし
virtual BOOL Frame();
virtual BOOL IsNextPhase() { return m_bNextPhase; };
// type_queue* DequeuePacket()
protected:
//> セッションへ送るパケット作成
// BOOL AddPacket(ptype_session sess, BYTE* data, WORD size)
//> 全セッションへ送るパケット作成
// BOOL AddPacketAllUser(ptype_session ignore_sess, BYTE* data, WORD size)
//> チームセッションへ送るパケット作成
// team_no : チーム番号
// BOOL AddPacketTeamUser(int team_no, BYTE* data, WORD size)
//< チームセッションへ送るパケット作成
// CNetworkSession *p_pNWSess;
// type_queue m_tQueue; // パケット作る用
int m_nLoadCompleteCheckIndex;
int m_nLoadingWaitTimeCounter;
int m_nLoadingTimeCounter;
int m_nLoadingCheckUserCount;
BOOL m_bNextPhase;
};
#endif