mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-28 23:06:54 +01:00
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.
19 lines
504 B
C++
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;
|
|
}
|