@rbxts/fletchette
    Preparing search index...

    Class PacketStorage

    Utility functions for creating RemoteEvents and RemoteFunctions. Remotes are stored in ReplicatedStorage.PacketStorage.

    Index

    Constructors

    Properties

    PACKET_STORAGE: Folder = ...

    PacketStorage folder in ReplicatedStorage.

    Methods

    • Retrieve a RemoteFunction from PacketStorage. If the RemoteFunction does not exist, it will be created.

      Parameters

      • id: string | number

        Unique identifier for the remote

      Returns RemoteFunction<Callback>

    • Retrieve a RemoteEvent from PacketStorage. If the RemoteEvent does not exist, it will be created.

      Parameters

      • id: string | number

        Unique identifier for the remote

      • OptionalisUnreliable: boolean

        Whether the remote should be unreliable. Default is false.

      Returns RemoteEvent<Callback>