| 1105 | } |
| 1106 | |
| 1107 | inline bool AddQAngle(const char *pszFieldName, QAngle &vec) |
| 1108 | { |
| 1109 | GETCHECK_FIELD(); |
| 1110 | CHECK_FIELD_TYPE(MESSAGE); |
| 1111 | CHECK_FIELD_REPEATED(); |
| 1112 | |
| 1113 | CMsgQAngle *msgAng = (CMsgQAngle *)msg->GetReflection()->AddMessage(msg, field); |
| 1114 | msgAng->set_x(vec.x); |
| 1115 | msgAng->set_y(vec.y); |
| 1116 | msgAng->set_z(vec.z); |
| 1117 | |
| 1118 | return true; |
| 1119 | } |
| 1120 | |
| 1121 | inline bool GetMessage(const char *pszFieldName, protobuf::Message **message) |
| 1122 | { |
no test coverage detected