AnalyzeHomeXieYi.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Learn cc.Class:
  2. // - [Chinese] http://www.cocos.com/docs/creator/scripting/class.html
  3. // - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/class/index.html
  4. // Learn Attribute:
  5. // - [Chinese] http://www.cocos.com/docs/creator/scripting/reference/attributes.html
  6. // - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/reference/attributes/index.html
  7. // Learn life-cycle callbacks:
  8. // - [Chinese] http://www.cocos.com/docs/creator/scripting/life-cycle-callbacks.html
  9. // - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/life-cycle-callbacks/index.html
  10. var ProtocolGameServer = require("ProtocolGameServer")
  11. var BaseDefine = require("BaseDefine")
  12. var Global = require("Global")
  13. cc.Class({
  14. extends: cc.Component,
  15. properties: {
  16. },
  17. statics: {
  18. analyzeData(m, s, dataview) {
  19. if (m != ProtocolLoginServer.MDM_GP_LOGON) {
  20. return null;
  21. }
  22. switch (s) {
  23. case ProtocolLoginServer.SUB_GP_LOGON_SUCCESS: {
  24. //return this.analyzeLogonSuccessData(dataview);
  25. }
  26. break;
  27. default:
  28. break;
  29. }
  30. return null;
  31. },
  32. },
  33. start () {
  34. },
  35. // update (dt) {},
  36. });