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

SetNextWeaponKey() public method

Sets the next-weapon key for the player specified by the playerID.
public SetNextWeaponKey ( 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 SetNextWeaponKey(int playerID, Keys key)
        {
            keyConfigurations[playerID].NextWeapon = key;
        }