Getting the Network interface to actually work

Discussion in 'Empyrion API' started by dr0r, Feb 17, 2023.

Tags:
  1. dr0r

    dr0r Ensign

    Joined:
    Feb 7, 2023
    Messages:
    3
    Likes Received:
    0
    It is available in the Application instance on both client mods and server mods and is meant to send and catch data as byte[] from client to server and vice versa.
    However, registering a callback does not let the programmer choose the current mod name, and as is evident in the log (after trying to register twice for the same name, where name is the OTHER mod name). Sometimes the log shows it is registered under the namespace in which the class method the does the registration is in. Sometimes it is the mod class name. sometimes it is the namespace of the mod class, and i'm not sure i ever seen the name as defined in the mod yaml file.

    I have tried all combinations I suppose. Cannot get the callbacks to trigger, ever.
    Any ideas?
     
    #1

Share This Page