• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Return-To-The-Roots / s25client / 44076625557

17 Nov 2026 11:43AM UTC coverage: 51.803% (-0.002%) from 51.805%
44076625557

push

github

web-flow
Merge pull request #2018 from Return-To-The-Roots/refactor/lowerCamelCase-methods

Rename Msg_* handlers to lowerCamelCase

8121 of 16693 new or added lines in 565 files covered. (48.65%)

323 existing lines in 133 files now uncovered.

24236 of 46785 relevant lines covered (51.8%)

49647.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/libs/s25main/network/GameMessage_GameCommand.cpp
1
// Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
2
//
3
// SPDX-License-Identifier: GPL-2.0-or-later
4

5
#include "GameMessage_GameCommand.h"
6
#include "GameMessageInterface.h"
7
#include "GameProtocol.h"
8

9
//////////////////////////////////////////////////////////////////////////
10

11
GameMessage_GameCommand::GameMessage_GameCommand() : GameMessageWithPlayer(NMS_GAMECOMMANDS) {}
×
12

13
GameMessage_GameCommand::GameMessage_GameCommand(uint8_t player, const AsyncChecksum& checksum,
×
14
                                                 const std::vector<gc::GameCommandPtr>& gcs)
×
15
    : GameMessageWithPlayer(NMS_GAMECOMMANDS, player), cmds(checksum, gcs)
×
16
{}
×
17

18
void GameMessage_GameCommand::Serialize(Serializer& ser) const
×
19
{
20
    GameMessageWithPlayer::Serialize(ser);
×
NEW
21
    cmds.serialize(ser);
×
22
}
×
23

24
void GameMessage_GameCommand::Deserialize(Serializer& ser)
×
25
{
26
    GameMessageWithPlayer::Deserialize(ser);
×
27
    gc::Deserializer deser(ser);
×
NEW
28
    cmds.deserialize(deser);
×
29
}
×
30

NEW
31
bool GameMessage_GameCommand::runGame(GameMessageInterface* callback) const
×
32
{
NEW
33
    return callback->onGameMessage(*this);
×
34
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc