How to UNDO/Redo a modification to an Array?

Hi guys, i’m creating a plugin but in it i’m needing to add, on a transaction, items to an array (or remove them). AFAIK TArray doens’t support this.

It seems TTransArray is the way to go but i have 2 problems.

  1. It doesn’t let me use the array as an UPROPERTY (says it’s not a UCLASS) 2) If i do use it, the array has no DefaultConstructor, so i cannot initialize it. even memberinitialization doesn’t work.

Any idea what to do? i could create a pointer and work on the stack instead of creating a reference, but i would better be using it as I use the arrays

BUMP!, really guys, no one has any idea?