Skip to content

Commit

Permalink
Deployed 0d4eadb to latest with MkDocs 1.6.1 and mike 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 27, 2024
1 parent 0ae3ddb commit fb7781a
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion latest/assets/.doxy/reference/cpp/hashChanges.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b658cb6b80247999fc036e22f90a0b2195d91279
f26734b7464585f04da1a03522241aabacce3daf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace endstone {
class BanEntry {

public:
using Date = std::chrono::system_clock::time_point;
using Date = std::chrono::time_point<std::chrono::system_clock, std::chrono::seconds>;

[[nodiscard]] Date getCreated() const
{
Expand Down Expand Up @@ -76,7 +76,7 @@ public:
}

private:
Date created_ = std::chrono::system_clock::now();
Date created_ = std::chrono::time_point_cast<std::chrono::seconds>(std::chrono::system_clock::now());
std::string source_ = "(Unknown)";
std::optional<Date> expiration_ = std::nullopt;
std::string reason_ = "Banned by an operator.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Inherited by the following classes: [endstone::PlayerBanEntry](classendstone_1_1

| Type | Name |
| ---: | :--- |
| typedef std::chrono::system\_clock::time\_point | [**Date**](#typedef-date) <br> |
| typedef std::chrono::time\_point&lt; std::chrono::system\_clock, std::chrono::seconds &gt; | [**Date**](#typedef-date) <br> |



Expand Down Expand Up @@ -102,7 +102,7 @@ Inherited by the following classes: [endstone::PlayerBanEntry](classendstone_1_1
### typedef Date

```C++
using endstone::BanEntry::Date = std::chrono::system_clock::time_point;
using endstone::BanEntry::Date = std::chrono::time_point<std::chrono::system_clock, std::chrono::seconds>;
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ See [endstone::BanEntry](classendstone_1_1BanEntry.md)

| Type | Name |
| ---: | :--- |
| typedef std::chrono::system\_clock::time\_point | [**Date**](classendstone_1_1BanEntry.md#typedef-date) <br> |
| typedef std::chrono::time\_point&lt; std::chrono::system\_clock, std::chrono::seconds &gt; | [**Date**](classendstone_1_1BanEntry.md#typedef-date) <br> |



Expand Down
4 changes: 2 additions & 2 deletions latest/assets/.doxy/reference/cpp/xml/ban__entry_8h.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<codeline lineno="26" refid="classendstone_1_1BanEntry" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classendstone_1_1BanEntry" kindref="compound">BanEntry</ref><sp/>{</highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>Date<sp/>=<sp/>std::chrono::system_clock::time_point;</highlight></codeline>
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>Date<sp/>=<sp/>std::chrono::time_point&lt;std::chrono::system_clock,<sp/>std::chrono::seconds&gt;;</highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight></codeline>
<codeline lineno="36" refid="classendstone_1_1BanEntry_1a3d58f91d59173138b7e5530b604ae70d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/>Date<sp/><ref refid="classendstone_1_1BanEntry_1a3d58f91d59173138b7e5530b604ae70d" kindref="member">getCreated</ref>()</highlight><highlight class="keyword"><sp/>const</highlight></codeline>
<codeline lineno="37"><highlight class="keyword"><sp/><sp/><sp/><sp/></highlight><highlight class="normal">{</highlight></codeline>
Expand Down Expand Up @@ -126,7 +126,7 @@
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="113"><highlight class="normal"></highlight></codeline>
<codeline lineno="114"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/>Date<sp/>created_<sp/>=<sp/>std::chrono::system_clock::now();</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/>Date<sp/>created_<sp/>=<sp/>std::chrono::time_point_cast&lt;std::chrono::seconds&gt;(std::chrono::system_clock::now());</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/>std::string<sp/>source_<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;(Unknown)&quot;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/>std::optional&lt;Date&gt;<sp/>expiration_<sp/>=<sp/>std::nullopt;</highlight></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/>std::string<sp/>reason_<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;Banned<sp/>by<sp/>an<sp/>operator.&quot;</highlight><highlight class="normal">;</highlight></codeline>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<derivedcompoundref refid="classendstone_1_1PlayerBanEntry" prot="public" virt="non-virtual">endstone::PlayerBanEntry</derivedcompoundref>
<includes refid="ban__entry_8h" local="no">endstone/ban/ban_entry.h</includes>
<sectiondef kind="public-type">
<memberdef kind="typedef" id="classendstone_1_1BanEntry_1ab092a6e12e478e31aabc04ccd7944f25" prot="public" static="no">
<type>std::chrono::system_clock::time_point</type>
<definition>using endstone::BanEntry::Date = std::chrono::system_clock::time_point</definition>
<memberdef kind="typedef" id="classendstone_1_1BanEntry_1ac2b34cd5390619f462aeaa6ad30b93a5" prot="public" static="no">
<type>std::chrono::time_point&lt; std::chrono::system_clock, std::chrono::seconds &gt;</type>
<definition>using endstone::BanEntry::Date = std::chrono::time_point&lt;std::chrono::system_clock, std::chrono::seconds&gt;</definition>
<argsstring></argsstring>
<name>Date</name>
<briefdescription>
Expand All @@ -25,7 +25,7 @@
<definition>Date endstone::BanEntry::created_</definition>
<argsstring></argsstring>
<name>created_</name>
<initializer>= std::chrono::system_clock::now()</initializer>
<initializer>= std::chrono::time_point_cast&lt;std::chrono::seconds&gt;(std::chrono::system_clock::now())</initializer>
<briefdescription>
</briefdescription>
<detaileddescription>
Expand Down Expand Up @@ -285,7 +285,7 @@
<location file="include/endstone/ban/ban_entry.h" line="26" column="1" bodyfile="include/endstone/ban/ban_entry.h" bodystart="26" bodyend="119"/>
<listofallmembers>
<member refid="classendstone_1_1BanEntry_1a3f858c5afab3a1d2beb3db993f361142" prot="private" virt="non-virtual"><scope>endstone::BanEntry</scope><name>created_</name></member>
<member refid="classendstone_1_1BanEntry_1ab092a6e12e478e31aabc04ccd7944f25" prot="public" virt="non-virtual"><scope>endstone::BanEntry</scope><name>Date</name></member>
<member refid="classendstone_1_1BanEntry_1ac2b34cd5390619f462aeaa6ad30b93a5" prot="public" virt="non-virtual"><scope>endstone::BanEntry</scope><name>Date</name></member>
<member refid="classendstone_1_1BanEntry_1a2ee4c7b3dbb27eaad5fe46e71562cbc5" prot="private" virt="non-virtual"><scope>endstone::BanEntry</scope><name>expiration_</name></member>
<member refid="classendstone_1_1BanEntry_1a3d58f91d59173138b7e5530b604ae70d" prot="public" virt="non-virtual"><scope>endstone::BanEntry</scope><name>getCreated</name></member>
<member refid="classendstone_1_1BanEntry_1a3da7f863a294a9186b6a3e6972aa3541" prot="public" virt="non-virtual"><scope>endstone::BanEntry</scope><name>getExpiration</name></member>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
</collaborationgraph>
<location file="include/endstone/ban/player_ban_entry.h" line="24" column="1" bodyfile="include/endstone/ban/player_ban_entry.h" bodystart="24" bodyend="66"/>
<listofallmembers>
<member refid="classendstone_1_1BanEntry_1ab092a6e12e478e31aabc04ccd7944f25" prot="public" virt="non-virtual"><scope>endstone::PlayerBanEntry</scope><name>Date</name></member>
<member refid="classendstone_1_1BanEntry_1ac2b34cd5390619f462aeaa6ad30b93a5" prot="public" virt="non-virtual"><scope>endstone::PlayerBanEntry</scope><name>Date</name></member>
<member refid="classendstone_1_1BanEntry_1a3d58f91d59173138b7e5530b604ae70d" prot="public" virt="non-virtual"><scope>endstone::PlayerBanEntry</scope><name>getCreated</name></member>
<member refid="classendstone_1_1BanEntry_1a3da7f863a294a9186b6a3e6972aa3541" prot="public" virt="non-virtual"><scope>endstone::PlayerBanEntry</scope><name>getExpiration</name></member>
<member refid="classendstone_1_1PlayerBanEntry_1a896cb5a70c13eaae3274577097a4c8be" prot="public" virt="non-virtual"><scope>endstone::PlayerBanEntry</scope><name>getName</name></member>
Expand Down
2 changes: 1 addition & 1 deletion latest/assets/.doxy/reference/cpp/xml/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<member refid="classendstone_1_1ActorTeleportEvent_1aeabc5788b424d23a598b057a05f767d0" kind="function"><name>setTo</name></member>
</compound>
<compound refid="classendstone_1_1BanEntry" kind="class"><name>endstone::BanEntry</name>
<member refid="classendstone_1_1BanEntry_1ab092a6e12e478e31aabc04ccd7944f25" kind="typedef"><name>Date</name></member>
<member refid="classendstone_1_1BanEntry_1ac2b34cd5390619f462aeaa6ad30b93a5" kind="typedef"><name>Date</name></member>
<member refid="classendstone_1_1BanEntry_1a3f858c5afab3a1d2beb3db993f361142" kind="variable"><name>created_</name></member>
<member refid="classendstone_1_1BanEntry_1abf7c2480ec91e2691f15dcfa7b38a208" kind="variable"><name>source_</name></member>
<member refid="classendstone_1_1BanEntry_1a2ee4c7b3dbb27eaad5fe46e71562cbc5" kind="variable"><name>expiration_</name></member>
Expand Down
4 changes: 2 additions & 2 deletions latest/reference/cpp/ban__entry_8h_source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1979,7 +1979,7 @@ <h1 id="file-ban_entryh">File ban_entry.h<a class="headerlink" href="#file-ban_e
</span><span id="__span-0-23"><a id="__codelineno-0-23" name="__codelineno-0-23" href="#__codelineno-0-23"></a><span class="k">class</span><span class="w"> </span><span class="nc">BanEntry</span><span class="w"> </span><span class="p">{</span>
</span><span id="__span-0-24"><a id="__codelineno-0-24" name="__codelineno-0-24" href="#__codelineno-0-24"></a>
</span><span id="__span-0-25"><a id="__codelineno-0-25" name="__codelineno-0-25" href="#__codelineno-0-25"></a><span class="k">public</span><span class="o">:</span>
</span><span id="__span-0-26"><a id="__codelineno-0-26" name="__codelineno-0-26" href="#__codelineno-0-26"></a><span class="w"> </span><span class="k">using</span><span class="w"> </span><span class="n">Date</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">system_clock</span><span class="o">::</span><span class="n">time_point</span><span class="p">;</span>
</span><span id="__span-0-26"><a id="__codelineno-0-26" name="__codelineno-0-26" href="#__codelineno-0-26"></a><span class="w"> </span><span class="k">using</span><span class="w"> </span><span class="n">Date</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">time_point</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">system_clock</span><span class="p">,</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">seconds</span><span class="o">&gt;</span><span class="p">;</span>
</span><span id="__span-0-27"><a id="__codelineno-0-27" name="__codelineno-0-27" href="#__codelineno-0-27"></a>
</span><span id="__span-0-28"><a id="__codelineno-0-28" name="__codelineno-0-28" href="#__codelineno-0-28"></a><span class="w"> </span><span class="p">[[</span><span class="n">nodiscard</span><span class="p">]]</span><span class="w"> </span><span class="n">Date</span><span class="w"> </span><span class="n">getCreated</span><span class="p">()</span><span class="w"> </span><span class="k">const</span>
</span><span id="__span-0-29"><a id="__codelineno-0-29" name="__codelineno-0-29" href="#__codelineno-0-29"></a><span class="w"> </span><span class="p">{</span>
Expand Down Expand Up @@ -2022,7 +2022,7 @@ <h1 id="file-ban_entryh">File ban_entry.h<a class="headerlink" href="#file-ban_e
</span><span id="__span-0-66"><a id="__codelineno-0-66" name="__codelineno-0-66" href="#__codelineno-0-66"></a><span class="w"> </span><span class="p">}</span>
</span><span id="__span-0-67"><a id="__codelineno-0-67" name="__codelineno-0-67" href="#__codelineno-0-67"></a>
</span><span id="__span-0-68"><a id="__codelineno-0-68" name="__codelineno-0-68" href="#__codelineno-0-68"></a><span class="k">private</span><span class="o">:</span>
</span><span id="__span-0-69"><a id="__codelineno-0-69" name="__codelineno-0-69" href="#__codelineno-0-69"></a><span class="w"> </span><span class="n">Date</span><span class="w"> </span><span class="n">created_</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">system_clock</span><span class="o">::</span><span class="n">now</span><span class="p">();</span>
</span><span id="__span-0-69"><a id="__codelineno-0-69" name="__codelineno-0-69" href="#__codelineno-0-69"></a><span class="w"> </span><span class="n">Date</span><span class="w"> </span><span class="n">created_</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">time_point_cast</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">seconds</span><span class="o">&gt;</span><span class="p">(</span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">system_clock</span><span class="o">::</span><span class="n">now</span><span class="p">());</span>
</span><span id="__span-0-70"><a id="__codelineno-0-70" name="__codelineno-0-70" href="#__codelineno-0-70"></a><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">string</span><span class="w"> </span><span class="n">source_</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;(Unknown)&quot;</span><span class="p">;</span>
</span><span id="__span-0-71"><a id="__codelineno-0-71" name="__codelineno-0-71" href="#__codelineno-0-71"></a><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">optional</span><span class="o">&lt;</span><span class="n">Date</span><span class="o">&gt;</span><span class="w"> </span><span class="n">expiration_</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">nullopt</span><span class="p">;</span>
</span><span id="__span-0-72"><a id="__codelineno-0-72" name="__codelineno-0-72" href="#__codelineno-0-72"></a><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">string</span><span class="w"> </span><span class="n">reason_</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;Banned by an operator.&quot;</span><span class="p">;</span>
Expand Down
4 changes: 2 additions & 2 deletions latest/reference/cpp/classendstone_1_1BanEntry/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ <h2 id="public-types">Public Types<a class="headerlink" href="#public-types" tit
</thead>
<tbody>
<tr>
<td style="text-align: right;">typedef std::chrono::system_clock::time_point</td>
<td style="text-align: right;">typedef std::chrono::time_point&lt; std::chrono::system_clock, std::chrono::seconds &gt;</td>
<td style="text-align: left;"><a href="#typedef-date"><strong>Date</strong></a> <br></td>
</tr>
</tbody>
Expand Down Expand Up @@ -2199,7 +2199,7 @@ <h2 id="public-functions">Public Functions<a class="headerlink" href="#public-fu
</table>
<h2 id="public-types-documentation">Public Types Documentation<a class="headerlink" href="#public-types-documentation" title="Permanent link">&para;</a></h2>
<h3 id="typedef-date">typedef Date<a class="headerlink" href="#typedef-date" title="Permanent link">&para;</a></h3>
<div class="language-C++ highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="k">using</span><span class="w"> </span><span class="n">endstone</span><span class="o">::</span><span class="n">BanEntry</span><span class="o">::</span><span class="n">Date</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">system_clock</span><span class="o">::</span><span class="n">time_point</span><span class="p">;</span>
<div class="language-C++ highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="k">using</span><span class="w"> </span><span class="n">endstone</span><span class="o">::</span><span class="n">BanEntry</span><span class="o">::</span><span class="n">Date</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">time_point</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">system_clock</span><span class="p">,</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">chrono</span><span class="o">::</span><span class="n">seconds</span><span class="o">&gt;</span><span class="p">;</span>
</span></code></pre></div>
<hr>
<h2 id="public-functions-documentation">Public Functions Documentation<a class="headerlink" href="#public-functions-documentation" title="Permanent link">&para;</a></h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2075,7 +2075,7 @@ <h2 id="public-types-inherited-from-endstonebanentry">Public Types inherited fro
</thead>
<tbody>
<tr>
<td style="text-align: right;">typedef std::chrono::system_clock::time_point</td>
<td style="text-align: right;">typedef std::chrono::time_point&lt; std::chrono::system_clock, std::chrono::seconds &gt;</td>
<td style="text-align: left;"><a href="../classendstone_1_1BanEntry/#typedef-date"><strong>Date</strong></a> <br></td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion latest/search/search_index.json

Large diffs are not rendered by default.

0 comments on commit fb7781a

Please sign in to comment.