EtherDuels.Config.Configuration.SetPrevWeaponKey C# (CSharp) Method

SetPrevWeaponKey() public method

Sets the prev-weapon key for the player specified by the playerID.
public SetPrevWeaponKey ( int playerID, Keys key ) : void
playerID int The ID which specifies the player.
key Keys The new key which needs to be assigned.
return void
        public void SetPrevWeaponKey(int playerID, Keys key)
        {
            keyConfigurations[playerID].PrevWeapon = key;
        }