[][src]Function tes3mp_plugin::plugin::generated::set_difficulty

pub fn set_difficulty(pid: u16, difficulty: i16)

Set the difficulty for a player.

This changes the difficulty for that player in the server memory, but does not by itself
send a packet.

pid The player ID.
difficulty The difficulty.

Returns void