Interface OnDataChangedListenerFunction

When data changes (no matter where, it will be applied on both client and server sides), listener will be called with received or set synced data.

  • Parameters

    • data: SyncedNetworkData

      instance of data, there is no way to listener be called from other ones

    • key: string

      key that was changed

    • isExternal: boolean

      is change was received from other side (server for client, client for server)

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.