Skip to content

feat!: implement network parenting during spawn#1206

Draft
James-Frowen wants to merge 1 commit intomainfrom
parent-id
Draft

feat!: implement network parenting during spawn#1206
James-Frowen wants to merge 1 commit intomainfrom
parent-id

Conversation

@James-Frowen
Copy link
Member

  • Add ParentNetId to SpawnValues message struct to synchronize hierarchy.
  • Add SpawnParentingMode (None, Auto, Manual) to NetworkSpawnSettings.
  • Implement server-side parent detection and explicit Parent override.
  • Update ServerObjectManager to automatically populate parenting data.

BREAKING CHANGE:

  • NetworkSpawnSettings constructor now requires SpawnParentingMode enum
  • SpawnValues network layout has changed, breaking over-the-wire compatibility

- Add `ParentNetId` to `SpawnValues` message struct to synchronize hierarchy.
- Add `SpawnParentingMode` (None, Auto, Manual) to `NetworkSpawnSettings`.
- Implement server-side parent detection and explicit `Parent` override.
- Update `ServerObjectManager` to automatically populate parenting data.

BREAKING CHANGE:
- `NetworkSpawnSettings` constructor now requires SpawnParentingMode enum
- `SpawnValues` network layout has changed, breaking over-the-wire compatibility
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

Comments