@@ -83,7 +83,7 @@ class NetGameCommandMsg : public NetCommandMsg
8383 void addArgument (const GameMessageArgumentDataType type, GameMessageArgumentType arg);
8484 void setGameMessageType (GameMessage::Type type);
8585
86- size_t getByteCount () const ;
86+ size_t getPackedByteCount () const ;
8787
8888protected:
8989 Int m_numArgs;
@@ -111,7 +111,7 @@ class NetAckBothCommandMsg : public NetCommandMsg
111111 void setOriginalPlayerID (UnsignedByte originalPlayerID);
112112 virtual Int getSortNumber ();
113113
114- static size_t getByteCount ();
114+ static size_t getPackedByteCount ();
115115
116116protected:
117117 UnsignedShort m_commandID;
@@ -137,7 +137,7 @@ class NetAckStage1CommandMsg : public NetCommandMsg
137137 void setOriginalPlayerID (UnsignedByte originalPlayerID);
138138 virtual Int getSortNumber ();
139139
140- static size_t getByteCount ();
140+ static size_t getPackedByteCount ();
141141
142142protected:
143143 UnsignedShort m_commandID;
@@ -163,7 +163,7 @@ class NetAckStage2CommandMsg : public NetCommandMsg
163163 void setOriginalPlayerID (UnsignedByte originalPlayerID);
164164 virtual Int getSortNumber ();
165165
166- static size_t getByteCount ();
166+ static size_t getPackedByteCount ();
167167
168168protected:
169169 UnsignedShort m_commandID;
@@ -181,7 +181,7 @@ class NetFrameCommandMsg : public NetCommandMsg
181181 void setCommandCount (UnsignedShort commandCount);
182182 UnsignedShort getCommandCount ();
183183
184- static size_t getByteCount ();
184+ static size_t getPackedByteCount ();
185185
186186protected:
187187 UnsignedShort m_commandCount;
@@ -198,7 +198,7 @@ class NetPlayerLeaveCommandMsg : public NetCommandMsg
198198 UnsignedByte getLeavingPlayerID ();
199199 void setLeavingPlayerID (UnsignedByte id);
200200
201- static size_t getByteCount ();
201+ static size_t getPackedByteCount ();
202202
203203protected:
204204 UnsignedByte m_leavingPlayerID;
@@ -217,7 +217,7 @@ class NetRunAheadMetricsCommandMsg : public NetCommandMsg
217217 Int getAverageFps ();
218218 void setAverageFps (Int fps);
219219
220- static size_t getByteCount ();
220+ static size_t getPackedByteCount ();
221221
222222protected:
223223 Real m_averageLatency;
@@ -238,7 +238,7 @@ class NetRunAheadCommandMsg : public NetCommandMsg
238238 UnsignedByte getFrameRate ();
239239 void setFrameRate (UnsignedByte frameRate);
240240
241- static size_t getByteCount ();
241+ static size_t getPackedByteCount ();
242242
243243protected:
244244 UnsignedShort m_runAhead;
@@ -256,7 +256,7 @@ class NetDestroyPlayerCommandMsg : public NetCommandMsg
256256 UnsignedInt getPlayerIndex ();
257257 void setPlayerIndex (UnsignedInt playerIndex);
258258
259- static size_t getByteCount ();
259+ static size_t getPackedByteCount ();
260260
261261protected:
262262 UnsignedInt m_playerIndex;
@@ -270,7 +270,7 @@ class NetKeepAliveCommandMsg : public NetCommandMsg
270270 NetKeepAliveCommandMsg ();
271271 // virtual ~NetKeepAliveCommandMsg();
272272
273- static size_t getByteCount ();
273+ static size_t getPackedByteCount ();
274274};
275275
276276// -----------------------------------------------------------------------------
@@ -281,7 +281,7 @@ class NetDisconnectKeepAliveCommandMsg : public NetCommandMsg
281281 NetDisconnectKeepAliveCommandMsg ();
282282 // virtual ~NetDisconnectKeepAliveCommandMsg();
283283
284- static size_t getByteCount ();
284+ static size_t getPackedByteCount ();
285285};
286286
287287// -----------------------------------------------------------------------------
@@ -298,7 +298,7 @@ class NetDisconnectPlayerCommandMsg : public NetCommandMsg
298298 UnsignedInt getDisconnectFrame ();
299299 void setDisconnectFrame (UnsignedInt frame);
300300
301- static size_t getByteCount ();
301+ static size_t getPackedByteCount ();
302302
303303protected:
304304 UnsignedByte m_disconnectSlot;
@@ -313,7 +313,7 @@ class NetPacketRouterQueryCommandMsg : public NetCommandMsg
313313 NetPacketRouterQueryCommandMsg ();
314314 // virtual ~NetPacketRouterQueryCommandMsg();
315315
316- static size_t getByteCount ();
316+ static size_t getPackedByteCount ();
317317};
318318
319319// -----------------------------------------------------------------------------
@@ -324,7 +324,7 @@ class NetPacketRouterAckCommandMsg : public NetCommandMsg
324324 NetPacketRouterAckCommandMsg ();
325325 // virtual ~NetPacketRouterAckCommandMsg();
326326
327- static size_t getByteCount ();
327+ static size_t getPackedByteCount ();
328328};
329329
330330// -----------------------------------------------------------------------------
@@ -338,7 +338,7 @@ class NetDisconnectChatCommandMsg : public NetCommandMsg
338338 UnicodeString getText ();
339339 void setText (UnicodeString text);
340340
341- size_t getByteCount () const ;
341+ size_t getPackedByteCount () const ;
342342
343343protected:
344344 UnicodeString m_text;
@@ -358,7 +358,7 @@ class NetChatCommandMsg : public NetCommandMsg
358358 Int getPlayerMask ( void );
359359 void setPlayerMask ( Int playerMask );
360360
361- size_t getByteCount () const ;
361+ size_t getPackedByteCount () const ;
362362
363363protected:
364364 UnicodeString m_text;
@@ -379,7 +379,7 @@ class NetDisconnectVoteCommandMsg : public NetCommandMsg
379379 UnsignedInt getVoteFrame ();
380380 void setVoteFrame (UnsignedInt voteFrame);
381381
382- static size_t getByteCount ();
382+ static size_t getPackedByteCount ();
383383
384384protected:
385385 UnsignedByte m_slot;
@@ -397,7 +397,7 @@ class NetProgressCommandMsg: public NetCommandMsg
397397 UnsignedByte getPercentage ();
398398 void setPercentage ( UnsignedByte percent );
399399
400- static size_t getByteCount ();
400+ static size_t getPackedByteCount ();
401401protected:
402402 UnsignedByte m_percent;
403403};
@@ -413,7 +413,7 @@ class NetWrapperCommandMsg : public NetCommandMsg
413413 UnsignedByte * getData ();
414414 void setData (UnsignedByte *data, UnsignedInt dataLength);
415415
416- static size_t getByteCount ();
416+ static size_t getPackedByteCount ();
417417
418418 UnsignedInt getChunkNumber ();
419419 void setChunkNumber (UnsignedInt chunkNumber);
@@ -462,7 +462,7 @@ class NetFileCommandMsg : public NetCommandMsg
462462 UnsignedByte * getFileData ();
463463 void setFileData (UnsignedByte *data, UnsignedInt dataLength);
464464
465- size_t getByteCount () const ;
465+ size_t getPackedByteCount () const ;
466466
467467protected:
468468 AsciiString m_portableFilename;
@@ -491,7 +491,7 @@ class NetFileAnnounceCommandMsg : public NetCommandMsg
491491 UnsignedByte getPlayerMask (void );
492492 void setPlayerMask (UnsignedByte playerMask);
493493
494- size_t getByteCount () const ;
494+ size_t getPackedByteCount () const ;
495495
496496protected:
497497 AsciiString m_portableFilename;
@@ -513,7 +513,7 @@ class NetFileProgressCommandMsg : public NetCommandMsg
513513 Int getProgress ();
514514 void setProgress (Int val);
515515
516- static size_t getByteCount ();
516+ static size_t getPackedByteCount ();
517517
518518protected:
519519 UnsignedShort m_fileID;
@@ -530,7 +530,7 @@ class NetDisconnectFrameCommandMsg : public NetCommandMsg
530530 UnsignedInt getDisconnectFrame ();
531531 void setDisconnectFrame (UnsignedInt disconnectFrame);
532532
533- static size_t getByteCount ();
533+ static size_t getPackedByteCount ();
534534
535535protected:
536536 UnsignedInt m_disconnectFrame;
@@ -546,7 +546,7 @@ class NetDisconnectScreenOffCommandMsg : public NetCommandMsg
546546 UnsignedInt getNewFrame ();
547547 void setNewFrame (UnsignedInt newFrame);
548548
549- static size_t getByteCount ();
549+ static size_t getPackedByteCount ();
550550
551551protected:
552552 UnsignedInt m_newFrame;
@@ -562,7 +562,7 @@ class NetFrameResendRequestCommandMsg : public NetCommandMsg
562562 UnsignedInt getFrameToResend ();
563563 void setFrameToResend (UnsignedInt frame);
564564
565- static size_t getByteCount ();
565+ static size_t getPackedByteCount ();
566566
567567protected:
568568 UnsignedInt m_frameToResend;
0 commit comments