mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-07-31 07:48:52 -04:00
- Lets you create addons that target a game (your addon project needs ParentGame set, do this in the wizard/project settings) - Code archives can load again if no precompiled dll is found
14 lines
167 B
C#
14 lines
167 B
C#
|
|
public class GameWeapon
|
|
{
|
|
public virtual string WeaponName => "Default";
|
|
|
|
public virtual void PrimaryAttack()
|
|
{
|
|
}
|
|
|
|
public virtual void SecondaryAttack()
|
|
{
|
|
}
|
|
}
|