Not a member yet? Why not Sign up today
Create an account  

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Notice to modders- new data management system

#6
To Migrate from IBlockWithText do this...

(Note the IblockWithText functionality will remain in game)

Let the system know you have migrated to a new data structure.
[Image: UCEtsBQ.png]

Hook into the old system SetText method and put the string into your new data structure (Data.Text is a VarString (which is a Var<string>)
[Image: CnH7IkB.png]

And, for good measure, although it won't be called if you follow the first step
[Image: xHhIcjg.png]


This example is supported by the following code
[Image: mz8Jvj2.png]

[Image: uq8PHWB.png]

[Image: AT1aoYv.png]
Reviewed FtD on steam yet? It's the #1 thing you can do to help FtD (and future games by Brilliant Skies!), so please take the time!
Bug tracker - view, "upvote", comment on and add all bugs here.
Request tracker - request new features here
support - private portal to service desk
Reply



Messages In This Thread
RE: Notice to modders- new data management system - by Nick Smart - 2019-04-14, 02:14 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)