Blame view

ios/Runner/Wowgame/Classes/game_toy/ToyActionData.h 597 Bytes
5daad4bc   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
  //
  //  ToyActionData.h
  //  SteveMaggieCpp
  //
  //  Created by Katarzyna Kalinowska-Górska on 23.05.2017.
  //
  //
  
  #ifndef ToyActionData_h
  #define ToyActionData_h
  
  #include <stdio.h>
  #include <string>
  #include <vector>
  #include "json/document.h"
  
  class ToyActionData
  {
      public:
          static const std::string ACTION_TYPE_SET_PROPERTY;
      
          ToyActionData(std::string actionType){
              this->actionType = actionType;
          }
      
          std::string actionType;
          std::vector<std::string> objectNames;
          rapidjson::Value* actionJSON;
  };
  
  
  
  #endif /* ToyActionData_h */