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
#!/usr/bin/python
#coding:GBK
 
#from CommonDefine import *
 
from ctypes import (c_short,c_ulong,sizeof)
 
from Collections.DataServerPlayerData import (tagDBPlayer, tagRoleItem, tagFamilyInfo, tagPlayerFamily)
 
 
#**
#*   ·þÎñÆ÷Êý¾Ý°æ±¾ºÅ
#*   ×¢Òâ: Ã¿´ÎÐ޸ĴËÄ£¿é, Êý¾Ý°æ±¾ºÅ±ØÐë¸üÐÂ!
#*
# ÏÈɽկ Ð´Ð´
#SERVER_DATA_VERSION_NO     =  32#   c_short((sizeof(tagDBPlayer) + sizeof(tagRoleItem))%100).value + 2
SERVER_DATA_VERSION_NO     =  c_short((sizeof(tagDBPlayer) + sizeof(tagRoleItem))%100).value + 2
#/**GameServerÊý¾Ý°æ±¾ºÅ*/
#GAMESERVER_DATA_VERSION_NO  = 70#    c_short((sizeof(tagDBPlayer) + sizeof(tagRoleItem) + sizeof(tagFamilyInfo) + sizeof(tagPlayerFamily))%100).value + 5
GAMESERVER_DATA_VERSION_NO  = c_short((sizeof(tagDBPlayer) + sizeof(tagRoleItem) + sizeof(tagFamilyInfo) + sizeof(tagPlayerFamily))%100).value + 5
from Collections.DataServerPlayerData import *
 
 
GAMEWORLD_DATA_TABLE_COUNT = 38#¼ÓÊÀ½ç·þÎñÆ÷ÊÀ½çÊý¾Ý±íÐèÒªÔö¼Ó¸ÃÖµ
#ÊÀ½ç·þÎñÆ÷ÊÀ½çÊý¾Ý±í°æ±¾ºÅ
GAMESERVER_GAMEWORLD_DATA_VERSION_NO = c_ulong (\
                                               (sizeof(tagPlayerTeamTable)+sizeof(tagTeamMemberTable)+sizeof(tagFamilyInfo)\
                                               +sizeof(tagPlayerFamily)+sizeof(tagDBFamilyVS)+sizeof(tagGameWorldEvent)\
                                               +sizeof(tagDBMissionPub)+sizeof(tagDBIPManage)+sizeof(tagDBGameServerEventTrig)\
                                               +sizeof(tagDBCountryInfo)+sizeof(tagDBCountryFamilyWarResult)+sizeof(tagDBCountryFamilyWarRace)\
                                               +sizeof(tagDBCountryFamilyWarRequest)+sizeof(tagDBBillboard)+sizeof(tagDBGoldOrderForm)\
                                               +sizeof(tagDBOverdueGoldOrderForm)+sizeof(tagDBUnclaimedGoldForm)+sizeof(tagDBFamilyTech)\
                                               +sizeof(tagDBPlayerLabel)+sizeof(tagDBPlayerRecall)+sizeof(tagDBVsReward)\
                                               +sizeof(tagDBFamilyReward)+sizeof(tagDBFamilyRewardRec)+sizeof(tagDBFamilyAction)\
                                               +sizeof(tagGameFBPassRec)+sizeof(tagUniversalGameRec)+sizeof(tagGameGroup)\
                                               +sizeof(tagGameGroupMember)+sizeof(tagGameGroupMutualInfo)+sizeof(tagGameBourseItem)\
                                               +sizeof(tagHighLadderPlayer)+sizeof(tagDBHighLadderItem)+sizeof(tagHighLadderVSRec)\
                                               +sizeof(tagDBCompensationItem)+sizeof(tagDBEntireCompensationRequire)+sizeof(tagDBPersonalCompensation)\
                                               +sizeof(tagCompensationPlayerRec)+sizeof(tagPlayerViewCache)\
                                              )%1000+1000*GAMEWORLD_DATA_TABLE_COUNT).value