FastEngine 0.9.4
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::net::NetDisconnectCommand Class Reference
Inheritance diagram for fge::net::NetDisconnectCommand:
fge::net::NetCommand

Public Member Functions

NetCommandTypes getType () const override
NetCommandResults internalUpdate (TransmitPacketPtr &buffPacket, IpAddress::Types addressType, Client &client) override
NetCommandResults onReceive (std::unique_ptr< ProtocolPacket > &packet, IpAddress::Types addressType, Client &client) override
std::future< void > 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 ()

Protected Attributes

CommandQueue * _g_commandQueue {nullptr}

Member Function Documentation

◆ getTimeoutTarget()

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

Reimplemented from fge::net::NetCommand.

◆ getType()

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

Implements fge::net::NetCommand.

◆ internalUpdate()

NetCommandResults fge::net::NetDisconnectCommand::internalUpdate ( TransmitPacketPtr & buffPacket,
IpAddress::Types addressType,
Client & client )
nodiscardoverridevirtual

Implements fge::net::NetCommand.

◆ onReceive()

NetCommandResults fge::net::NetDisconnectCommand::onReceive ( std::unique_ptr< ProtocolPacket > & packet,
IpAddress::Types addressType,
Client & client )
nodiscardoverridevirtual

Implements fge::net::NetCommand.


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