Discussion Extending the unextendable?

Bribe

vJass errors are legion
Reaction score
67
I want an array struct to be able to be extended -- I don't want allocate/deallocate as I'm using my own indexing methods. However, I want this struct to be... extendable. Array structs cannot be extended, according to JassHelper.

I could think of converting the struct to a module and have the child struct extend it, then delegate an array struct instead of the interface so the user can have optional methods... but modules add to some bigger problems like bulky quantities of script text.

If you wanted to have an array struct be extendable, yet have optional methods, how would you go about it? I can't think of any pretty way to do this.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top