MsgHcInfo_s.ts 647 B

1234567891011121314151617181920212223242526272829303132
  1. // 定义返回字段
  2. export interface MsgHcInfo_s {
  3. chapterId:number //章节ID
  4. tili:number //体力
  5. lastTime:number //最后一次结算体力时间
  6. list:HcInfoList //格子列表
  7. }
  8. export interface HcInfoList {
  9. [gzid: string]: HcInfoGeziInfo;
  10. }
  11. export interface HcInfoGeziInfo {
  12. type:HcType //具体物品类型
  13. unlock:HcUnlock //解锁状态
  14. correlationId:number //物品ID
  15. }
  16. //具体物品类型
  17. export enum HcType {
  18. wu = 0, //无物品
  19. emitter = 1, //发射器
  20. monster = 2, //怪物
  21. equip = 3, //装备
  22. }
  23. //解锁状态
  24. export enum HcUnlock {
  25. off = 0, //关
  26. on = 1, //开
  27. }