• Parameters

    Returns {
        convertRegularToNetworkMessage: ((regularMessage: Uint8Array) => Uint8Array[]);
        findExistingNetworkEntity: ((message: NetworkMessage) => Entity | null);
        processClientMessages: ((value: Uint8Array, sender: string, forceCorrections?: boolean) => Uint8Array);
        processServerMessages: ((value: Uint8Array, sender: string) => Uint8Array);
    }

    • convertRegularToNetworkMessage: ((regularMessage: Uint8Array) => Uint8Array[])
        • (regularMessage: Uint8Array): Uint8Array[]
        • Parameters

          • regularMessage: Uint8Array

          Returns Uint8Array[]

    • findExistingNetworkEntity: ((message: NetworkMessage) => Entity | null)
    • processClientMessages: ((value: Uint8Array, sender: string, forceCorrections?: boolean) => Uint8Array)
        • (value: Uint8Array, sender: string, forceCorrections?: boolean): Uint8Array
        • Parameters

          • value: Uint8Array
          • sender: string
          • forceCorrections: boolean = false

          Returns Uint8Array

    • processServerMessages: ((value: Uint8Array, sender: string) => Uint8Array)
        • (value: Uint8Array, sender: string): Uint8Array
        • Parameters

          • value: Uint8Array
          • sender: string

          Returns Uint8Array