mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-16 21:23:46 +00:00
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:
parent
efbe5e90f5
commit
2b295fb7f0
454 changed files with 4162 additions and 4156 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue