源战役
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
684 B

пре 4 недеља
  1. -define(ETS_OFFLINE_ACCESS, ets_offline_access). %% 离线玩家数据访问信息
  2. -define(ETS_OFFLINE_PLAYER, ets_offline_player). %% 离线玩家信息
  3. -define(HOT_OFFLINE_COUNT, 1000). %% 热点数据总量
  4. -define(ACCESS_TIME_FACTOR, 1). %% 最后访问时间因子
  5. -define(ACCESS_REF_FACTOR, 10). %% 访问次数因子
  6. %% 离线数据访问信息
  7. -record (ets_offline, {
  8. id = 0, %% 玩家id
  9. access_time = 0, %% 离线数据最后访问时间
  10. access_ref = 0 %% 离线数据访问次数
  11. }).
  12. %% 离线数据
  13. -record(status_off, {
  14. goods_status = undefined %% 物品
  15. ,relationship = undefined %% 好友数据
  16. }).