GameInfo.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //
  2. // GameInfo.h
  3. // Unity-iPhone
  4. //
  5. // Created by duowan123 on 2022/4/28.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "LEONBLManager.h"
  9. //游戏类型
  10. typedef NS_ENUM(int, GAME_TYPE){
  11. GAME_TYPE_DEMO =0, //
  12. GAME_TYPE_RUN, //
  13. GAME_TYPE_DANCE, //
  14. GAME_TYPE_H5GAME, //
  15. GAME_TYPE_MONSTER, //
  16. GAME_TYPE_RUINSE, //
  17. GAME_TYPE_CYCLE, //
  18. GAME_TYPE_BIGFOOT, //
  19. GAME_TYPE_FINGERGUESSING, //
  20. GAME_TYPE_AEROBICS, //
  21. GAME_TYPE_KONGFU
  22. };
  23. @interface GameInfo : NSObject
  24. //弹窗 unity主动选择链接 主0 副1 设备
  25. @property(assign,nonatomic)DEVICE_TYPE deviceType;
  26. //游戏种类
  27. @property(assign,nonatomic)GAME_TYPE game_type;
  28. //程序在前台还是后台
  29. @property(assign,nonatomic)int isBackGround;
  30. //当局游戏时长
  31. @property(nonatomic,strong)NSDate * firstTime;
  32. //趣动跳转过来携带的的环境
  33. @property(nonatomic,strong)NSString * debug;
  34. //趣动判断鞋子要不要震动
  35. @property(nonatomic,strong)NSString * vibrate;
  36. //
  37. @property(nonatomic,strong)NSString * inviteInfo;
  38. //当局游戏动作数据
  39. @property(assign,nonatomic)int step;
  40. @property(assign,nonatomic)int jump;
  41. @property(assign,nonatomic)int crouch;
  42. @property(assign,nonatomic)int tick;
  43. @property(assign,nonatomic)int trample;
  44. @property(assign,nonatomic)int scissors;
  45. @property(assign,nonatomic)int rock;
  46. @property(assign,nonatomic)int paper;
  47. @end