Class Unit
- Namespace
- VAMP.Structs
- Assembly
- VAMP.dll
- Inheritance
-
Unit
- Derived
-
- Inherited Members
-
Constructors
Unit(PrefabGUID, int, int)
public Unit(PrefabGUID prefabGuid, int team = 10, int level = -1)
Parameters
prefabGuid
PrefabGUID
team
int
level
int
Fields
abilityCastImpair
protected bool abilityCastImpair
Field Value
- bool
aggroRadius
protected float aggroRadius
Field Value
- float
announceSpawn
protected bool announceSpawn
Field Value
- bool
drawsAggro
protected bool drawsAggro
Field Value
- bool
dynamicCollision
protected bool dynamicCollision
Field Value
- bool
gameMode
protected string gameMode
Field Value
- string
isImmaterial
protected bool isImmaterial
Field Value
- bool
isInvisible
protected bool isInvisible
Field Value
- bool
isInvulnerable
protected bool isInvulnerable
Field Value
- bool
isRooted
Field Value
- bool
isTargetable
protected bool isTargetable
Field Value
- bool
knockbackResistance
protected bool knockbackResistance
Field Value
- bool
level
Field Value
- int
mapCollision
protected bool mapCollision
Field Value
- bool
maxDistanceFromPreCombatPosition
protected float maxDistanceFromPreCombatPosition
Field Value
- float
maxHealth
protected float maxHealth
Field Value
- float
name
Field Value
- string
prefabGuid
protected PrefabGUID prefabGuid
Field Value
- PrefabGUID
respawnTime
protected float respawnTime
Field Value
- float
softSpawn
Field Value
- bool
spawnDelay
Field Value
- int
team
Field Value
- int
Properties
AbilityCastImpair
public bool AbilityCastImpair { get; set; }
Property Value
- bool
AggroRadius
public float AggroRadius { get; set; }
Property Value
- float
AnnounceSpawn
public bool AnnounceSpawn { get; set; }
Property Value
- bool
Category
public string Category { get; set; }
Property Value
- string
DrawsAggro
public bool DrawsAggro { get; set; }
Property Value
- bool
DynamicCollision
public bool DynamicCollision { get; set; }
Property Value
- bool
IsImmaterial
public bool IsImmaterial { get; set; }
Property Value
- bool
IsInvulnerable
public bool IsInvulnerable { get; set; }
Property Value
- bool
IsRooted
public bool IsRooted { get; set; }
Property Value
- bool
IsTargetable
public bool IsTargetable { get; set; }
Property Value
- bool
KnockbackResistance
public bool KnockbackResistance { get; set; }
Property Value
- bool
Level
public int Level { get; set; }
Property Value
- int
MapCollision
public bool MapCollision { get; set; }
Property Value
- bool
MaxDistanceFromPreCombatPosition
public float MaxDistanceFromPreCombatPosition { get; set; }
Property Value
- float
MaxHealth
public float MaxHealth { get; set; }
Property Value
- float
Name
public string Name { get; set; }
Property Value
- string
PrefabGuid
public PrefabGUID PrefabGuid { get; set; }
Property Value
- PrefabGUID
RespawnTime
public float RespawnTime { get; set; }
Property Value
- float
SoftSpawn
public bool SoftSpawn { get; set; }
Property Value
- bool
SpawnDelay
public int SpawnDelay { get; set; }
Property Value
- int
Team
public int Team { get; set; }
Property Value
- int
Methods
Modify(Entity)
public virtual void Modify(Entity e)
Parameters
e
Entity
Modify(Entity, Entity)
public virtual void Modify(Entity e, Entity buffEntity)
Parameters
e
Entity
buffEntity
Entity