LeviLamina
Loading...
Searching...
No Matches
RakNet::ShadowBanList Class Reference

Classes

struct  Entry

Public Types

using BanCallback = ::std::function<void(::std::string const&)>
using Ip = ::std::array<::std::byte, 16>
using LoggingFunctor = ::std::function<void(::std::string const&)>
using Time = ::std::chrono::seconds

Public Member Functions

MCAPI ushort addBan (::RakNet::SystemAddress const &addr, ::std::chrono::seconds time)
MCAPI::RakNet::RakPeer::RemoteSystemStruct * shouldDisconnectConnection (::RakNet::SystemAddress srcAddr, ::std::chrono::seconds now, ::gsl::span<::RakNet::RakPeer::RemoteSystemStruct * > remotes)

Public Attributes

::ll::TypedStorage< 8, 8, ::std::chrono::seconds > banExpiryDuration
::ll::TypedStorage< 8, 8, ::std::chrono::seconds > appHandshakeGracePeriod
::ll::TypedStorage< 8, 10240, ::std::array<::std::optional<::RakNet::ShadowBanList::Entry >, 256 > > mEntries
::ll::TypedStorage< 8, 64, ::std::function< void(::std::string const &)> > mBanCallback

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