Skip to content

Update RaceChocoboManager#1726

Open
mabako wants to merge 6 commits intoaers:mainfrom
mabako:patch-1
Open

Update RaceChocoboManager#1726
mabako wants to merge 6 commits intoaers:mainfrom
mabako:patch-1

Conversation

@mabako
Copy link

@mabako mabako commented Feb 14, 2026

No description provided.

@github-actions github-actions bot added the breaking change PR contains breaking changes and wont be merged before a new patch label Feb 16, 2026
mabako and others added 2 commits February 16, 2026 13:52
@github-actions github-actions bot removed the breaking change PR contains breaking changes and wont be merged before a new patch label Feb 18, 2026
@Haselnussbomber
Copy link
Collaborator

Haselnussbomber commented Feb 18, 2026

We don't really like to see helpers implemented in C# in CS, so I've replaced them with native functions where possible and also made use of our new bit field generator.

Attribute values can be read like this:

var attributes = new RaceChocoboAttributeValues();

manager->GetAttributesCurrent(&attributes);

ImGui.Text("Current Attributes:");
using (ImRaii.PushIndent())
{
    ImGui.Text($"MaximumSpeed: {attributes.MaximumSpeed}");
    ImGui.Text($"Acceleration: {attributes.Acceleration}");
    ImGui.Text($"Endurance: {attributes.Endurance}");
    ImGui.Text($"Stamina: {attributes.Stamina}");
    ImGui.Text($"Cunning: {attributes.Cunning}");
}

manager->GetAttributesMaximum(&attributes);

ImGui.Text("Maximum Attributes:");
using (ImRaii.PushIndent())
{
    ImGui.Text($"MaximumSpeed: {attributes.MaximumSpeed}");
    ImGui.Text($"Acceleration: {attributes.Acceleration}");
    ImGui.Text($"Endurance: {attributes.Endurance}");
    ImGui.Text($"Stamina: {attributes.Stamina}");
    ImGui.Text($"Cunning: {attributes.Cunning}");
}

manager->GetAttributesStars(&attributes);

ImGui.Text("Attributes Stars:");
using (ImRaii.PushIndent())
{
    ImGui.Text($"MaximumSpeed: {attributes.MaximumSpeed + 1}");
    ImGui.Text($"Acceleration: {attributes.Acceleration + 1}");
    ImGui.Text($"Endurance: {attributes.Endurance + 1}");
    ImGui.Text($"Stamina: {attributes.Stamina + 1}");
    ImGui.Text($"Cunning: {attributes.Cunning + 1}");
}

My chocobo has all attributes on 2 stars, so I'm not 100% sure on that part.
I'll leave the PR open for you and/or others to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments