rusteal 0.9.0

Rust bindings for Unreal Engine 5.8.2
1
2
3
4
5
6
7
8
9
10
11
12
use bindings::engine::PrimaryDataAsset;
use rusteal_runtime::uclass;

#[uclass(parent = PrimaryDataAsset)]
pub struct {{ plugin }}Item {
    #[uproperty(EditAnywhere, BlueprintReadOnly, category = "Item")]
    display_name: String,
    #[uproperty(EditAnywhere, BlueprintReadOnly, category = "Item", default = 1)]
    max_stack: i32,
    #[uproperty(EditAnywhere, BlueprintReadOnly, category = "Item", default = 0.0)]
    weight: f32,
}