Files
ReSkate/Extension/Plugins/plugin_effects.h
T
gbgyo 4f07b448a3 Plugins: render private particles and decals with physics geometry
Add permission-gated effect handles, native surface attachments, and world lifetime cleanup. Extend physics_step with optional contact geometry and body poses. Document the generic API and validate it with self-contained plugin and geometry fixtures.
2026-10-25 10:56:59 +03:00

19 lines
504 B
C++

#pragma once
#include <array>
#include <cstdint>
#include <string>
#include <string_view>
namespace dingosdk::plugins {
using EffectMatrix = std::array<float, 16>;
struct EffectRequest {
std::string asset;
EffectMatrix transform{};
bool decal{}, attach{};
float lift{};
};
// Private mod assets only. Stock effect blueprints include store cosmetics.
bool private_effect_asset(std::string_view asset, bool decal) noexcept;
bool valid_effect_matrix(const EffectMatrix& matrix) noexcept;
}