Globals.js 1022 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // declare global variable "GlobalData"
  2. // Global存储全局控制句柄
  3. window.GlobalD = {
  4. // singletons,ManageGame.js
  5. GameManager: null,
  6. game: null,
  7. // singletons,GameMode.js
  8. // gameMode: null,
  9. //地图
  10. TileMap: null,
  11. /**
  12. * 新增的土地配置
  13. */
  14. ConfigLand:null,
  15. //用户已租赁的土地
  16. UserLeaseLand:null,
  17. //其他用户已租赁的土地
  18. OtherLeaseland:null,
  19. //其他用户信息
  20. OtherUserInfo:null,
  21. //保存数据的脚本
  22. GameData: null,
  23. //游戏图片 ManageImage
  24. GameImage: null,
  25. //游戏Control ManageControl
  26. GameControl: null,
  27. //用户信息
  28. UserInfo: null,
  29. //玩家角色属性后面这个字段处理
  30. PlayerAttribute:null,
  31. //新手引导
  32. ManageTask: null,
  33. //游戏设置
  34. GameSetting:null,
  35. /**
  36. * DApp 相关信息操作
  37. */
  38. dapp: null,//对象
  39. //用户信息
  40. Dapp: {
  41. UserInfo: null,
  42. address: '',
  43. signData: null,
  44. }
  45. };