ATLAS
Admin Helper Tool (Discontinued)
 This topic has been pinned, so it's probably important
Impulse  [developer] 15 Feb, 2019 @ 10:02am
For Mod Autors; How to utilize the Cross-Grid-Communication-API
Base requirements
  1. You'll need to implement a singleton class of type "PrimalStructureItemContainer" with an attached inventory component, like so -> https://prnt.sc/mlmkm0
  2. In your inventory component, set the boolean "BPNotifyItemAdded" to true -> https://prnt.sc/mlml68
  3. Go into the Graph tab/view of your inventory component and implement the function "BPNotifyItemAdded" (simply right click and implement). How you'll get this interface function from the following screenshot, will be covered in "Receiving a package". -> https://prnt.sc/mlmm5c

Sending a package
  1. Sending information is done via CustomItemData!
  2. You'll need to resolve and find the Admin Helper Tool singleton -> https://prnt.sc/mlmxlx
    /Game/Mods/AdminHelperTool/Singleton/Singleton_AHT_Processor.Singleton_AHT_Processor
  3. Sending Packages is pretty straight forward, here is an example for such a function to send a data package -> https://prnt.sc/mlmweh

Receiving a package
  1. Create a new interface BP for your singleton. -> https://prnt.sc/mlmp85
  2. In this interface BP, create a function like this (ignore the other function in the example screenshot). -> https://prnt.sc/mlmqjv
  3. After you have created, saved and compiled your interface BP, go into your singleton and implement the interface. -> https://prnt.sc/mlmrxk
    Now go into an event graph of your singleton and add the interface event, see this example implementation -> https://prnt.sc/mlmsl1
  4. Go back into your inventory BP and implement your interface function there -> https://prnt.sc/mlmyw0
  5. You now have your CustomItemData on a remote Grid! -> best to simply plot it's content to see what information you now have at your disposal :D - Spoiler: There is a DeliveryLog with origin IP, direction and delivery time information for each grid hop attached now.
Last edited by Impulse; 15 Feb, 2019 @ 3:36pm