Skip to content

Replace if/elsif chain in UBPDeviceSubsystem::OnMessage with virtual method#5

Open
slonopotamus wants to merge 1 commit intoDeviantdVeloper:developmentfrom
slonopotamus:if-elsif-to-virtual
Open

Replace if/elsif chain in UBPDeviceSubsystem::OnMessage with virtual method#5
slonopotamus wants to merge 1 commit intoDeviantdVeloper:developmentfrom
slonopotamus:if-elsif-to-virtual

Conversation

@slonopotamus
Copy link

No description provided.

Copy link
Owner

@DeviantdVeloper DeviantdVeloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is significantly less cursed than my current implementation, and I imagine uses some feature of Instanced Structs I am not aware of.

I will test and check.

@DeviantdVeloper DeviantdVeloper changed the base branch from main to development October 11, 2025 13:42
@slonopotamus
Copy link
Author

slonopotamus commented Oct 11, 2025

I have more plans for code improvements (including solving TODO in current PR), but didn't want to pile up a massive change set, so trying to improve things gradually.

@DeviantdVeloper DeviantdVeloper self-assigned this Oct 20, 2025
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