[#CBanEntry]
= CBanEntry
:mrdocs:

Record of a single ban, storing when it was created and when it expires&period;

== Synopsis

Declared in `&lt;net&lowbar;types&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class CBanEntry;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:CBanEntry/2constructor-0ee.adoc[`CBanEntry`]         [.small]#[constructor]#
| Constructors
| xref:CBanEntry/ToJson.adoc[`ToJson`] 
| Generate a JSON representation of this ban entry&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:CBanEntry/nBanUntil.adoc[`nBanUntil`] 
| Unix epoch time (seconds) until which the ban stays in effect&period;
| xref:CBanEntry/nCreateTime.adoc[`nCreateTime`] 
| Unix epoch time (seconds) at which the ban was created&period;
| xref:CBanEntry/nVersion.adoc[`nVersion`] 
| Version of the format used to create this entry&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:CBanEntry/CURRENT_VERSION.adoc[`CURRENT&lowbar;VERSION`] 
| Serialization version of the ban entry format&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
