| 1109 | } |
| 1110 | |
| 1111 | vector<string> CScriptBuilder::GetMetadataForTypeProperty(int typeId, int varIdx) |
| 1112 | { |
| 1113 | map<int, SClassMetadata>::iterator typeIt = classMetadataMap.find(typeId); |
| 1114 | if(typeIt == classMetadataMap.end()) return vector<string>(); |
| 1115 | |
| 1116 | map<int, vector<string> >::iterator propIt = typeIt->second.varMetadataMap.find(varIdx); |
| 1117 | if(propIt == typeIt->second.varMetadataMap.end()) return vector<string>(); |
| 1118 | |
| 1119 | return propIt->second; |
| 1120 | } |
| 1121 | |
| 1122 | vector<string> CScriptBuilder::GetMetadataForTypeMethod(int typeId, asIScriptFunction *method) |
| 1123 | { |