EtherDuels.Config.Configuration.SetPrevWeaponKey C# (CSharp) Метод

SetPrevWeaponKey() публичный Метод

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.
Результат void
        public void SetPrevWeaponKey(int playerID, Keys key)
        {
            keyConfigurations[playerID].PrevWeapon = key;
        }