RPCMode

    MultiplayerAPI.swift:29
    enum RPCMode

    Cases

    • case disabled

      Used with rpcConfig(method:config:) to disable a method or property for all RPC calls, making it unavailable. Default for all methods.

    • case anyPeer

      Used with rpcConfig(method:config:) to set a method to be callable remotely by any peer. Analogous to the @rpc("any_peer") annotation. Calls are accepted from all remote peers, no matter if they are node’s authority or not.

    • case authority

      Used with rpcConfig(method:config:) to set a method to be callable remotely only by the current multiplayer authority (which is the server by default). Analogous to the @rpc("authority") annotation. See setMultiplayerAuthority(id:recursive:).

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (21) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features