#!/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
|
|
|
|
|