Class RequireWeaponStatAttribute
Inheritance
RequireWeaponStatAttribute
Assembly: LobsterFramework.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
[RegisterInitialization(0, AttributeType = InitializationAttributeType.Runtime)]
public sealed class RequireWeaponStatAttribute : InitializationAttribute, _Attribute
Constructors
|
Improve this Doc
View Source
RequireWeaponStatAttribute(params Type[])
Declaration
public RequireWeaponStatAttribute(params Type[] weaponStats)
Parameters
Type |
Name |
Description |
Type[] |
weaponStats |
|
Fields
|
Improve this Doc
View Source
Requirements
Declaration
public static ReadOnlyDictionary<Type, HashSet<Type>> Requirements
Field Value
Methods
|
Improve this Doc
View Source
Init(Type)
Perform initialization tasks
Declaration
protected override void Init(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
The class type this attribute is applied on
|
Overrides
|
Improve this Doc
View Source
IsCompatible(Type)
Declaration
public static bool IsCompatible(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Implements