Blame view

ios/Runner/Wowgame/Classes/game_food/ActionData.h 579 Bytes
cb213901   xiaoyu   添加一个游戏的源码和编译选项
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  //
  //  ActionData.h
  //  SteveMaggieCpp
  //
  //  Created by Katarzyna Kalinowska-Górska on 23.05.2017.
  //
  //
  
  #ifndef ActionData_h
  #define ActionData_h
  
  #include <stdio.h>
  #include <string>
  #include <vector>
  #include "json/document.h"
  
  class ActionData
  {
      public:
          static const std::string ACTION_TYPE_SET_PROPERTY;
      
          ActionData(std::string actionType){
              this->actionType = actionType;
          }
      
          std::string actionType;
          std::vector<std::string> objectNames;
          rapidjson::Value* actionJSON;
  };
  
  
  
  #endif /* ActionData_h */