rest of virtuals removed

virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:40:22 +00:00
parent efbe5e90f5
commit 2b295fb7f0
454 changed files with 4162 additions and 4156 deletions

View file

@ -63,7 +63,7 @@ public:
~GhostAlwaysObjectEvent()
{ delete object; }
void pack(NetConnection *ps, BitStream *bstream)
void pack(NetConnection *ps, BitStream *bstream) override
{
bstream->writeInt(ghostIndex, NetConnection::GhostIdBitSize);
@ -83,7 +83,7 @@ public:
#endif
}
}
void write(NetConnection *ps, BitStream *bstream)
void write(NetConnection *ps, BitStream *bstream) override
{
bstream->writeInt(ghostIndex, NetConnection::GhostIdBitSize);
if(bstream->writeFlag(validObject))
@ -100,7 +100,7 @@ public:
#endif
}
}
void unpack(NetConnection *ps, BitStream *bstream)
void unpack(NetConnection *ps, BitStream *bstream) override
{
ghostIndex = bstream->readInt(NetConnection::GhostIdBitSize);
@ -136,7 +136,7 @@ public:
validObject = false;
}
}
void process(NetConnection *ps)
void process(NetConnection *ps) override
{
Con::executef("onGhostAlwaysObjectReceived");