@@ -200,95 +200,95 @@ class PluginUserMessage
200200 std::string GetMessageName ();
201201 int GetMessageID ();
202202
203- bool HasField (const char * pszFieldName);
204-
205- int32 GetInt32 (const char * pszFieldName);
206- void SetInt32 (const char * pszFieldName, int32 value);
207- int32 GetRepeatedInt32 (const char * pszFieldName, int index);
208- void SetRepeatedInt32 (const char * pszFieldName, int index, int32 value);
209- void AddInt32 (const char * pszFieldName, int32 value);
210-
211- int64 GetInt64 (const char * pszFieldName);
212- void SetInt64 (const char * pszFieldName, int64 value);
213- int64 GetRepeatedInt64 (const char * pszFieldName, int index);
214- void SetRepeatedInt64 (const char * pszFieldName, int index, int64 value);
215- void AddInt64 (const char * pszFieldName, int64 value);
216-
217- uint32 GetUInt32 (const char * pszFieldName);
218- void SetUInt32 (const char * pszFieldName, uint32 value);
219- uint32 GetRepeatedUInt32 (const char * pszFieldName, int index);
220- void SetRepeatedUInt32 (const char * pszFieldName, int index, uint32 value);
221- void AddUInt32 (const char * pszFieldName, uint32 value);
222-
223- uint64 GetUInt64 (const char * pszFieldName);
224- void SetUInt64 (const char * pszFieldName, uint64 value);
225- uint64 GetRepeatedUInt64 (const char * pszFieldName, int index);
226- void SetRepeatedUInt64 (const char * pszFieldName, int index, uint64 value);
227- void AddUInt64 (const char * pszFieldName, uint64 value);
228-
229- int64 GetInt64OrUnsigned (const char * pszFieldName);
230- void SetInt64OrUnsigned (const char * pszFieldName, int64 value);
231- int64 GetRepeatedInt64OrUnsigned (const char * pszFieldName, int index);
232- void SetRepeatedInt64OrUnsigned (const char * pszFieldName, int index, int64 value);
233- void AddInt64OrUnsigned (const char * pszFieldName, int64 value);
234-
235- bool GetBool (const char * pszFieldName);
236- void SetBool (const char * pszFieldName, bool value);
237- bool GetRepeatedBool (const char * pszFieldName, int index);
238- void SetRepeatedBool (const char * pszFieldName, int index, bool value);
239- void AddBool (const char * pszFieldName, bool value);
240-
241- float GetFloat (const char * pszFieldName);
242- void SetFloat (const char * pszFieldName, float value);
243- float GetRepeatedFloat (const char * pszFieldName, int index);
244- void SetRepeatedFloat (const char * pszFieldName, int index, float value);
245- void AddFloat (const char * pszFieldName, float value);
246-
247- double GetDouble (const char * pszFieldName);
248- void SetDouble (const char * pszFieldName, double value);
249- double GetRepeatedDouble (const char * pszFieldName, int index);
250- void SetRepeatedDouble (const char * pszFieldName, int index, double value);
251- void AddDouble (const char * pszFieldName, double value);
252-
253- float GetFloatOrDouble (const char * pszFieldName);
254- void SetFloatOrDouble (const char * pszFieldName, float value);
255- float GetRepeatedFloatOrDouble (const char * pszFieldName, int index);
256- void SetRepeatedFloatOrDouble (const char * pszFieldName, int index, float value);
257- void AddFloatOrDouble (const char * pszFieldName, float value);
258-
259- std::string GetString (const char * pszFieldName);
260- void SetString (const char * pszFieldName, const char *value);
261- std::string GetRepeatedString (const char * pszFieldName, int index);
262- void SetRepeatedString (const char * pszFieldName, int index, const char *value);
263- void AddString (const char * pszFieldName, const char *value);
264-
265- Color GetColor (const char * pszFieldName);
266- void SetColor (const char * pszFieldName, const Color &value);
267- Color GetRepeatedColor (const char * pszFieldName, int index);
268- void SetRepeatedColor (const char * pszFieldName, int index, const Color &value);
269- void AddColor (const char * pszFieldName, const Color &value);
270-
271- Vector2D GetVector2D (const char * pszFieldName);
272- void SetVector2D (const char * pszFieldName, Vector2D &vec);
273- Vector2D GetRepeatedVector2D (const char * pszFieldName, int index);
274- void SetRepeatedVector2D (const char * pszFieldName, int index, Vector2D &vec);
275- void AddVector2D (const char * pszFieldName, Vector2D &vec);
276-
277- Vector GetVector (const char * pszFieldName);
278- void SetVector (const char * pszFieldName, Vector &vec);
279- Vector GetRepeatedVector (const char * pszFieldName, int index);
280- void SetRepeatedVector (const char * pszFieldName, int index, Vector &vec);
281- void AddVector (const char * pszFieldName, Vector &vec);
282-
283- QAngle GetQAngle (const char * pszFieldName);
284- void SetQAngle (const char * pszFieldName, QAngle &vec);
285- QAngle GetRepeatedQAngle (const char * pszFieldName, int index);
286- void SetRepeatedQAngle (const char * pszFieldName, int index, QAngle &vec);
287- void AddQAngle (const char * pszFieldName, QAngle &vec);
288-
289- void RemoveRepeatedFieldValue (const char * pszFieldName, int index);
290-
291- int GetRepeatedFieldCount (const char * pszFieldName);
203+ bool HasField (std::string pszFieldName);
204+
205+ int32 GetInt32 (std::string pszFieldName);
206+ void SetInt32 (std::string pszFieldName, int32 value);
207+ int32 GetRepeatedInt32 (std::string pszFieldName, int index);
208+ void SetRepeatedInt32 (std::string pszFieldName, int index, int32 value);
209+ void AddInt32 (std::string pszFieldName, int32 value);
210+
211+ int64 GetInt64 (std::string pszFieldName);
212+ void SetInt64 (std::string pszFieldName, int64 value);
213+ int64 GetRepeatedInt64 (std::string pszFieldName, int index);
214+ void SetRepeatedInt64 (std::string pszFieldName, int index, int64 value);
215+ void AddInt64 (std::string pszFieldName, int64 value);
216+
217+ uint32 GetUInt32 (std::string pszFieldName);
218+ void SetUInt32 (std::string pszFieldName, uint32 value);
219+ uint32 GetRepeatedUInt32 (std::string pszFieldName, int index);
220+ void SetRepeatedUInt32 (std::string pszFieldName, int index, uint32 value);
221+ void AddUInt32 (std::string pszFieldName, uint32 value);
222+
223+ uint64 GetUInt64 (std::string pszFieldName);
224+ void SetUInt64 (std::string pszFieldName, uint64 value);
225+ uint64 GetRepeatedUInt64 (std::string pszFieldName, int index);
226+ void SetRepeatedUInt64 (std::string pszFieldName, int index, uint64 value);
227+ void AddUInt64 (std::string pszFieldName, uint64 value);
228+
229+ int64 GetInt64OrUnsigned (std::string pszFieldName);
230+ void SetInt64OrUnsigned (std::string pszFieldName, int64 value);
231+ int64 GetRepeatedInt64OrUnsigned (std::string pszFieldName, int index);
232+ void SetRepeatedInt64OrUnsigned (std::string pszFieldName, int index, int64 value);
233+ void AddInt64OrUnsigned (std::string pszFieldName, int64 value);
234+
235+ bool GetBool (std::string pszFieldName);
236+ void SetBool (std::string pszFieldName, bool value);
237+ bool GetRepeatedBool (std::string pszFieldName, int index);
238+ void SetRepeatedBool (std::string pszFieldName, int index, bool value);
239+ void AddBool (std::string pszFieldName, bool value);
240+
241+ float GetFloat (std::string pszFieldName);
242+ void SetFloat (std::string pszFieldName, float value);
243+ float GetRepeatedFloat (std::string pszFieldName, int index);
244+ void SetRepeatedFloat (std::string pszFieldName, int index, float value);
245+ void AddFloat (std::string pszFieldName, float value);
246+
247+ double GetDouble (std::string pszFieldName);
248+ void SetDouble (std::string pszFieldName, double value);
249+ double GetRepeatedDouble (std::string pszFieldName, int index);
250+ void SetRepeatedDouble (std::string pszFieldName, int index, double value);
251+ void AddDouble (std::string pszFieldName, double value);
252+
253+ float GetFloatOrDouble (std::string pszFieldName);
254+ void SetFloatOrDouble (std::string pszFieldName, float value);
255+ float GetRepeatedFloatOrDouble (std::string pszFieldName, int index);
256+ void SetRepeatedFloatOrDouble (std::string pszFieldName, int index, float value);
257+ void AddFloatOrDouble (std::string pszFieldName, float value);
258+
259+ std::string GetString (std::string pszFieldName);
260+ void SetString (std::string pszFieldName, const char *value);
261+ std::string GetRepeatedString (std::string pszFieldName, int index);
262+ void SetRepeatedString (std::string pszFieldName, int index, const char *value);
263+ void AddString (std::string pszFieldName, const char *value);
264+
265+ Color GetColor (std::string pszFieldName);
266+ void SetColor (std::string pszFieldName, const Color &value);
267+ Color GetRepeatedColor (std::string pszFieldName, int index);
268+ void SetRepeatedColor (std::string pszFieldName, int index, const Color &value);
269+ void AddColor (std::string pszFieldName, const Color &value);
270+
271+ Vector2D GetVector2D (std::string pszFieldName);
272+ void SetVector2D (std::string pszFieldName, Vector2D &vec);
273+ Vector2D GetRepeatedVector2D (std::string pszFieldName, int index);
274+ void SetRepeatedVector2D (std::string pszFieldName, int index, Vector2D &vec);
275+ void AddVector2D (std::string pszFieldName, Vector2D &vec);
276+
277+ Vector GetVector (std::string pszFieldName);
278+ void SetVector (std::string pszFieldName, Vector &vec);
279+ Vector GetRepeatedVector (std::string pszFieldName, int index);
280+ void SetRepeatedVector (std::string pszFieldName, int index, Vector &vec);
281+ void AddVector (std::string pszFieldName, Vector &vec);
282+
283+ QAngle GetQAngle (std::string pszFieldName);
284+ void SetQAngle (std::string pszFieldName, QAngle &vec);
285+ QAngle GetRepeatedQAngle (std::string pszFieldName, int index);
286+ void SetRepeatedQAngle (std::string pszFieldName, int index, QAngle &vec);
287+ void AddQAngle (std::string pszFieldName, QAngle &vec);
288+
289+ void RemoveRepeatedFieldValue (std::string pszFieldName, int index);
290+
291+ int GetRepeatedFieldCount (std::string pszFieldName);
292292
293293 void SendToPlayer (int playerId);
294294 void SendToAllPlayers ();
0 commit comments