[#CBanEntry] = CBanEntry :mrdocs: Record of a single ban, storing when it was created and when it expires. == Synopsis Declared in `<net_types.h>` [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. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:CBanEntry/nBanUntil.adoc[`nBanUntil`] | Unix epoch time (seconds) until which the ban stays in effect. | xref:CBanEntry/nCreateTime.adoc[`nCreateTime`] | Unix epoch time (seconds) at which the ban was created. | xref:CBanEntry/nVersion.adoc[`nVersion`] | Version of the format used to create this entry. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:CBanEntry/CURRENT_VERSION.adoc[`CURRENT_VERSION`] | Serialization version of the ban entry format. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#