branchwiseguys/main/CharacterStatePoolingcancel

10 Commits over 0 Days - ∞cph!

7 Years Ago
Minor edits
7 Years Ago
Stop killing NPCs
7 Years Ago
Moved CharacterClientProxySub
7 Years Ago
Fixed
7 Years Ago
CharacterState pooling work. NPC movement currently broken
7 Years Ago
Also added CopyToDirect, which copies a CharacterState without creating a new CharacterMotorState object like the generated CopyTo does
7 Years Ago
Added CopyToWithRepool for Character state. The generated CopyTo doesn't handle poolable types within poolable types very well. Copying to a new instance makes a copy of the original class' MotorState (if it has one), and assigns it to the new instance's MotorState. If the new instance already had a MotorState assigned, it'll now no longer have a reference and never get re-pooled. CopyToWithRepool safely disposes and re-pools the old MotorState if it has one.
7 Years Ago
More pooling work
7 Years Ago
CharacterState pooling work
7 Years Ago
Working on issues with CharacterState pooling