Function 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.

long getRpcSenderId() nothrow @nogc const;