Skip to content

Conversation

@CreepNT
Copy link

@CreepNT CreepNT commented Jan 20, 2026

Does what it says on the tincan, although the contents of the array are immutable so it is more like an hex viewer.

Notably useful when examining the pVars property of a moby:
image

Copy link
Contributor

@MilchRatchet MilchRatchet left a comment

Choose a reason for hiding this comment

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

That's great, nice work. If you fix that one typo we can merge this.

byte n2 = Convert.ToByte(array.GetValue(index + 2)!);
byte n3 = Convert.ToByte(array.GetValue(index + 3)!);

uint u32val = (uint)((element << 24) | (n1 << 16) | (n2 << 8) | n1);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think here is a typo, byte n1 is included twice and byte n3 is not added at all.

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