File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Core/GameEngine/Source/GameNetwork Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -1186,9 +1186,7 @@ void NetDisconnectFrameCommandMsg::setDisconnectFrame(UnsignedInt disconnectFram
11861186}
11871187
11881188size_t NetDisconnectFrameCommandMsg::getPackedByteCount () const {
1189- return sizeof (NetPacketDisconnectFrameCommand)
1190- + sizeof (UnsignedByte)
1191- + sizeof (UnsignedInt);
1189+ return sizeof (NetPacketDisconnectFrameCommand);
11921190}
11931191
11941192// -------------------------
@@ -1211,9 +1209,7 @@ void NetDisconnectScreenOffCommandMsg::setNewFrame(UnsignedInt newFrame) {
12111209}
12121210
12131211size_t NetDisconnectScreenOffCommandMsg::getPackedByteCount () const {
1214- return sizeof (NetPacketDisconnectScreenOffCommand)
1215- + sizeof (UnsignedByte)
1216- + sizeof (UnsignedInt);
1212+ return sizeof (NetPacketDisconnectScreenOffCommand);
12171213}
12181214
12191215// -------------------------
@@ -1236,9 +1232,7 @@ void NetFrameResendRequestCommandMsg::setFrameToResend(UnsignedInt frame) {
12361232}
12371233
12381234size_t NetFrameResendRequestCommandMsg::getPackedByteCount () const {
1239- return sizeof (NetPacketFrameResendRequestCommand)
1240- + sizeof (UnsignedByte)
1241- + sizeof (UnsignedInt);
1235+ return sizeof (NetPacketFrameResendRequestCommand);
12421236}
12431237
12441238// -------------------------
You can’t perform that action at this time.
0 commit comments