Globals.js 980 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. * DApp 相关信息操作
  35. */
  36. dapp: null,//对象
  37. //用户信息
  38. Dapp: {
  39. UserInfo: null,
  40. address: '',
  41. signData: null,
  42. }
  43. };