Skip to content

SpawnNpcPacket: Fill out some more fields#1764

Open
redstrate wants to merge 1 commit intoaers:mainfrom
redstrate:work/redstrate/spawn-npc-upstreaming
Open

SpawnNpcPacket: Fill out some more fields#1764
redstrate wants to merge 1 commit intoaers:mainfrom
redstrate:work/redstrate/spawn-npc-upstreaming

Conversation

@redstrate
Copy link
Copy Markdown
Contributor

Upstreaming the link-related stuff I figured out, and also found that the second u32 here is used for quests.

Upstreaming the link-related stuff I figured out, and also found that
the second u32 here is used for quests.
public partial struct SpawnNpcPacket {
[FieldOffset(0x00)] public uint GimmickId;
[FieldOffset(0x04)] private uint Unk4; // Character+0x1BC0
/// <remarks> Instance ID of an Event NPC. Seen for Event NPCs that turn into Battle NPCs (during quests, for example.) </remarks>
Copy link
Copy Markdown
Contributor Author

@redstrate redstrate Mar 27, 2026

Choose a reason for hiding this comment

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

Not suuuper happy with this name, hence why I didn't add it to Character yet... having a field named EventNpcId there would be strange?

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.

1 participant