MultiplayerAPI.getRpcSenderId

Returns the sender's peer ID for the RPC currently being executed. NOTE: If not inside an RPC this method will return 0.

struct MultiplayerAPI
@nogc nothrow const
long
getRpcSenderId
()

Meta