FastEngine 0.9.5
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::net::NetMTUCommand Class Referencefinal
Inheritance diagram for fge::net::NetMTUCommand:
fge::net::NetCommand

Public Member Functions

NetCommandTypes getType () const override
void internalUpdate (TransmitPacketPtr &buffPacket, IpAddress::Types addressType, Client &client, std::chrono::milliseconds deltaTime) override
void onReceive (std::unique_ptr< ProtocolPacket > &packet, IpAddress::Types addressType, Client &client) override
std::future< uint16_t > get_future ()
std::chrono::milliseconds getTimeoutTarget () const override
 NetCommand (CommandQueue *commandQueue)
NetCommandResults update (TransmitPacketPtr &buffPacket, IpAddress::Types addressType, Client &client, std::chrono::milliseconds deltaTime)

Protected Member Functions

void resetTimeout ()
void markAsFailed ()
void markAsSucceeded ()

Protected Attributes

CommandQueue * _g_commandQueue {nullptr}

Member Function Documentation

◆ getTimeoutTarget()

std::chrono::milliseconds fge::net::NetMTUCommand::getTimeoutTarget ( ) const
inlinenodiscardoverridevirtual

Reimplemented from fge::net::NetCommand.

◆ getType()

NetCommandTypes fge::net::NetMTUCommand::getType ( ) const
inlinenodiscardoverridevirtual

Implements fge::net::NetCommand.

◆ internalUpdate()

void fge::net::NetMTUCommand::internalUpdate ( TransmitPacketPtr & buffPacket,
IpAddress::Types addressType,
Client & client,
std::chrono::milliseconds deltaTime )
overridevirtual

Implements fge::net::NetCommand.

◆ onReceive()

void fge::net::NetMTUCommand::onReceive ( std::unique_ptr< ProtocolPacket > & packet,
IpAddress::Types addressType,
Client & client )
overridevirtual

Implements fge::net::NetCommand.


The documentation for this class was generated from the following file: