Skip to content

Commit

Permalink
Deployed 9d28eea 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 Jan 25, 2025
1 parent 7320291 commit bec9c61
Show file tree
Hide file tree
Showing 67 changed files with 6,540 additions and 848 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 @@
04a6bfe5043ab54cff45c039137b2c8e8c2864d0
4751739432086518ca181b6d2faf8e1a63c11025
2 changes: 2 additions & 0 deletions latest/assets/.doxy/reference/cpp/reference/cpp/actor_8h.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@
| Type | Name |
| ---: | :--- |
| namespace | [**endstone**](namespaceendstone.md) <br> |
| namespace | [**fmt**](namespacefmt.md) <br> |


## Classes

| Type | Name |
| ---: | :--- |
| class | [**Actor**](classendstone_1_1Actor.md) <br>_Represents a base actor in the level._ |
| struct | [**formatter&lt; endstone::Actor &gt;**](structfmt_1_1formatter_3_01endstone_1_1Actor_01_4.md) &lt;&gt;<br> |



Expand Down
13 changes: 13 additions & 0 deletions latest/assets/.doxy/reference/cpp/reference/cpp/actor_8h_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,19 @@ public:
};

} // namespace endstone

namespace fmt {
template <>
struct formatter<endstone::Actor> : formatter<string_view> {
using Type = endstone::Actor;

template <typename FormatContext>
auto format(const Type &val, FormatContext &ctx) const -> format_context::iterator
{
return fmt::format_to(ctx.out(), "{}", val.getName());
}
};
} // namespace fmt
```


Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@



* `#include "endstone/damage/damage_source.h"`
* `#include "endstone/event/actor/actor_event.h"`


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,31 @@

#pragma once

#include "endstone/damage/damage_source.h"
#include "endstone/event/actor/actor_event.h"

namespace endstone {

class ActorDeathEvent : public ActorEvent<Mob> {
public:
using ActorEvent::ActorEvent;
ActorDeathEvent(Mob &actor, std::unique_ptr<DamageSource> damage_source)
: ActorEvent(actor), damage_source_(std::move(damage_source))
{
}

inline static const std::string NAME = "ActorDeathEvent";
[[nodiscard]] std::string getEventName() const override
{
return NAME;
}

[[nodiscard]] DamageSource &getDamageSource() const
{
return *damage_source_;
}

private:
std::unique_ptr<DamageSource> damage_source_;
// TODO(event): add drops and dropExp
};

Expand Down
2 changes: 2 additions & 0 deletions latest/assets/.doxy/reference/cpp/reference/cpp/annotated.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,14 @@ Here are the classes, structs, unions and interfaces with brief descriptions:
* **class** [**PermissionBuilder**](classendstone_1_1detail_1_1PermissionBuilder.md)
* **struct** [**PluginDescriptionBuilder**](structendstone_1_1detail_1_1PluginDescriptionBuilder.md)
* **namespace** [**fmt**](namespacefmt.md)
* **struct** [**formatter&lt; endstone::Actor &gt;**](structfmt_1_1formatter_3_01endstone_1_1Actor_01_4.md)
* **struct** [**formatter&lt; endstone::Block &gt;**](structfmt_1_1formatter_3_01endstone_1_1Block_01_4.md)
* **struct** [**formatter&lt; endstone::BlockData &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockData_01_4.md)
* **struct** [**formatter&lt; endstone::BlockState &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockState_01_4.md)
* **struct** [**formatter&lt; endstone::BlockStates &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_01_4.md)
* **struct** [**formatter&lt; endstone::BlockStates::mapped\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1mapped__type_01_4.md)
* **struct** [**formatter&lt; endstone::BlockStates::value\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1value__type_01_4.md)
* **struct** [**formatter&lt; endstone::DamageSource &gt;**](structfmt_1_1formatter_3_01endstone_1_1DamageSource_01_4.md)
* **struct** [**formatter&lt; endstone::ItemStack &gt;**](structfmt_1_1formatter_3_01endstone_1_1ItemStack_01_4.md)
* **namespace** [**std**](namespacestd.md)
* **struct** [**hash&lt; endstone::UUID &gt;**](structstd_1_1hash_3_01endstone_1_1UUID_01_4.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
* **addButton** ([**endstone::ActionForm**](classendstone_1_1ActionForm.md))
* **addScoreboardTag** ([**endstone::Actor**](classendstone_1_1Actor.md))
* **asActor** ([**endstone::Actor**](classendstone_1_1Actor.md), [**endstone::CommandSender**](classendstone_1_1CommandSender.md), [**endstone::CommandSenderWrapper**](classendstone_1_1CommandSenderWrapper.md))
* **ActorEvent** ([**endstone::ActorDeathEvent**](classendstone_1_1ActorDeathEvent.md), [**endstone::ActorEvent**](classendstone_1_1ActorEvent.md), [**endstone::ActorRemoveEvent**](classendstone_1_1ActorRemoveEvent.md))
* **ActorDeathEvent** ([**endstone::ActorDeathEvent**](classendstone_1_1ActorDeathEvent.md))
* **ActorEvent** ([**endstone::ActorEvent**](classendstone_1_1ActorEvent.md), [**endstone::ActorRemoveEvent**](classendstone_1_1ActorRemoveEvent.md))
* **ActorExplodeEvent** ([**endstone::ActorExplodeEvent**](classendstone_1_1ActorExplodeEvent.md))
* **ActorKnockbackEvent** ([**endstone::ActorKnockbackEvent**](classendstone_1_1ActorKnockbackEvent.md))
* **ActorSpawnEvent** ([**endstone::ActorSpawnEvent**](classendstone_1_1ActorSpawnEvent.md))
Expand Down Expand Up @@ -107,7 +108,7 @@

* **Form** ([**endstone::Form**](classendstone_1_1Form.md))
* **first** ([**endstone::Inventory**](classendstone_1_1Inventory.md))
* **format** ([**fmt::formatter&lt; endstone::Block &gt;**](structfmt_1_1formatter_3_01endstone_1_1Block_01_4.md), [**fmt::formatter&lt; endstone::BlockData &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockData_01_4.md), [**fmt::formatter&lt; endstone::BlockState &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockState_01_4.md), [**fmt::formatter&lt; endstone::BlockStates &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_01_4.md), [**fmt::formatter&lt; endstone::BlockStates::mapped\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1mapped__type_01_4.md), [**fmt::formatter&lt; endstone::BlockStates::value\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1value__type_01_4.md), [**fmt::formatter&lt; endstone::ItemStack &gt;**](structfmt_1_1formatter_3_01endstone_1_1ItemStack_01_4.md))
* **format** ([**fmt::formatter&lt; endstone::Actor &gt;**](structfmt_1_1formatter_3_01endstone_1_1Actor_01_4.md), [**fmt::formatter&lt; endstone::Block &gt;**](structfmt_1_1formatter_3_01endstone_1_1Block_01_4.md), [**fmt::formatter&lt; endstone::BlockData &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockData_01_4.md), [**fmt::formatter&lt; endstone::BlockState &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockState_01_4.md), [**fmt::formatter&lt; endstone::BlockStates &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_01_4.md), [**fmt::formatter&lt; endstone::BlockStates::mapped\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1mapped__type_01_4.md), [**fmt::formatter&lt; endstone::BlockStates::value\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1value__type_01_4.md), [**fmt::formatter&lt; endstone::DamageSource &gt;**](structfmt_1_1formatter_3_01endstone_1_1DamageSource_01_4.md), [**fmt::formatter&lt; endstone::ItemStack &gt;**](structfmt_1_1formatter_3_01endstone_1_1ItemStack_01_4.md))


## g
Expand All @@ -130,6 +131,7 @@
* **getScoreboardTags** ([**endstone::Actor**](classendstone_1_1Actor.md))
* **getType** ([**endstone::Actor**](classendstone_1_1Actor.md), [**endstone::Block**](classendstone_1_1Block.md), [**endstone::BlockData**](classendstone_1_1BlockData.md), [**endstone::BlockState**](classendstone_1_1BlockState.md), [**endstone::DamageSource**](classendstone_1_1DamageSource.md), [**endstone::Dimension**](classendstone_1_1Dimension.md), [**endstone::ItemStack**](classendstone_1_1ItemStack.md), [**endstone::Packet**](classendstone_1_1Packet.md), [**endstone::ServerLoadEvent**](classendstone_1_1ServerLoadEvent.md), [**endstone::SpawnParticleEffectPacket**](classendstone_1_1SpawnParticleEffectPacket.md))
* **getVelocity** ([**endstone::Actor**](classendstone_1_1Actor.md))
* **getDamageSource** ([**endstone::ActorDeathEvent**](classendstone_1_1ActorDeathEvent.md))
* **getEventName** ([**endstone::ActorDeathEvent**](classendstone_1_1ActorDeathEvent.md), [**endstone::ActorExplodeEvent**](classendstone_1_1ActorExplodeEvent.md), [**endstone::ActorKnockbackEvent**](classendstone_1_1ActorKnockbackEvent.md), [**endstone::ActorRemoveEvent**](classendstone_1_1ActorRemoveEvent.md), [**endstone::ActorSpawnEvent**](classendstone_1_1ActorSpawnEvent.md), [**endstone::ActorTeleportEvent**](classendstone_1_1ActorTeleportEvent.md), [**endstone::BlockBreakEvent**](classendstone_1_1BlockBreakEvent.md), [**endstone::BlockPistonEvent**](classendstone_1_1BlockPistonEvent.md), [**endstone::BlockPlaceEvent**](classendstone_1_1BlockPlaceEvent.md), [**endstone::BroadcastMessageEvent**](classendstone_1_1BroadcastMessageEvent.md), [**endstone::Event**](classendstone_1_1Event.md), [**endstone::PlayerChatEvent**](classendstone_1_1PlayerChatEvent.md), [**endstone::PlayerCommandEvent**](classendstone_1_1PlayerCommandEvent.md), [**endstone::PlayerDeathEvent**](classendstone_1_1PlayerDeathEvent.md), [**endstone::PlayerEmoteEvent**](classendstone_1_1PlayerEmoteEvent.md), [**endstone::PlayerGameModeChangeEvent**](classendstone_1_1PlayerGameModeChangeEvent.md), [**endstone::PlayerInteractActorEvent**](classendstone_1_1PlayerInteractActorEvent.md), [**endstone::PlayerInteractEvent**](classendstone_1_1PlayerInteractEvent.md), [**endstone::PlayerJoinEvent**](classendstone_1_1PlayerJoinEvent.md), [**endstone::PlayerKickEvent**](classendstone_1_1PlayerKickEvent.md), [**endstone::PlayerLoginEvent**](classendstone_1_1PlayerLoginEvent.md), [**endstone::PlayerQuitEvent**](classendstone_1_1PlayerQuitEvent.md), [**endstone::PlayerRespawnEvent**](classendstone_1_1PlayerRespawnEvent.md), [**endstone::PlayerTeleportEvent**](classendstone_1_1PlayerTeleportEvent.md), [**endstone::PluginDisableEvent**](classendstone_1_1PluginDisableEvent.md), [**endstone::PluginEnableEvent**](classendstone_1_1PluginEnableEvent.md), [**endstone::ScriptMessageEvent**](classendstone_1_1ScriptMessageEvent.md), [**endstone::ServerCommandEvent**](classendstone_1_1ServerCommandEvent.md), [**endstone::ServerListPingEvent**](classendstone_1_1ServerListPingEvent.md), [**endstone::ServerLoadEvent**](classendstone_1_1ServerLoadEvent.md), [**endstone::ThunderChangeEvent**](classendstone_1_1ThunderChangeEvent.md), [**endstone::WeatherChangeEvent**](classendstone_1_1WeatherChangeEvent.md))
* **getActor** ([**endstone::ActorEvent**](classendstone_1_1ActorEvent.md), [**endstone::DamageSource**](classendstone_1_1DamageSource.md), [**endstone::PlayerInteractActorEvent**](classendstone_1_1PlayerInteractActorEvent.md))
* **getBlockList** ([**endstone::ActorExplodeEvent**](classendstone_1_1ActorExplodeEvent.md))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

## t

* **Type** ([**fmt::formatter&lt; endstone::Block &gt;**](structfmt_1_1formatter_3_01endstone_1_1Block_01_4.md), [**fmt::formatter&lt; endstone::BlockData &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockData_01_4.md), [**fmt::formatter&lt; endstone::BlockState &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockState_01_4.md), [**fmt::formatter&lt; endstone::BlockStates &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_01_4.md), [**fmt::formatter&lt; endstone::BlockStates::mapped\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1mapped__type_01_4.md), [**fmt::formatter&lt; endstone::BlockStates::value\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1value__type_01_4.md), [**fmt::formatter&lt; endstone::ItemStack &gt;**](structfmt_1_1formatter_3_01endstone_1_1ItemStack_01_4.md))
* **Type** ([**fmt::formatter&lt; endstone::Actor &gt;**](structfmt_1_1formatter_3_01endstone_1_1Actor_01_4.md), [**fmt::formatter&lt; endstone::Block &gt;**](structfmt_1_1formatter_3_01endstone_1_1Block_01_4.md), [**fmt::formatter&lt; endstone::BlockData &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockData_01_4.md), [**fmt::formatter&lt; endstone::BlockState &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockState_01_4.md), [**fmt::formatter&lt; endstone::BlockStates &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_01_4.md), [**fmt::formatter&lt; endstone::BlockStates::mapped\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1mapped__type_01_4.md), [**fmt::formatter&lt; endstone::BlockStates::value\_type &gt;**](structfmt_1_1formatter_3_01endstone_1_1BlockStates_1_1value__type_01_4.md), [**fmt::formatter&lt; endstone::DamageSource &gt;**](structfmt_1_1formatter_3_01endstone_1_1DamageSource_01_4.md), [**fmt::formatter&lt; endstone::ItemStack &gt;**](structfmt_1_1formatter_3_01endstone_1_1ItemStack_01_4.md))



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@

## d

* **damage\_source\_** ([**endstone::ActorDeathEvent**](classendstone_1_1ActorDeathEvent.md))
* **DateFormat** ([**endstone::BanEntry**](classendstone_1_1BanEntry.md))
* **DarkAqua** ([**endstone::ColorFormat**](structendstone_1_1ColorFormat.md))
* **DarkBlue** ([**endstone::ColorFormat**](structendstone_1_1ColorFormat.md))
Expand Down
Loading

0 comments on commit bec9c61

Please sign in to comment.