Weapon C# code