Class UnturnedZombie
Inheritance
System.Object
UnturnedZombie
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedZombie : object, IEntity, IGameObject, IHasHealth, IDamageSource
Constructors
|
Improve this Doc
View Source
UnturnedZombie(Zombie)
Declaration
public UnturnedZombie(Zombie zombie)
Parameters
Type |
Name |
Description |
Zombie |
zombie |
|
Properties
|
Improve this Doc
View Source
Asset
Declaration
public IEntityAsset Asset { get; }
Property Value
|
Improve this Doc
View Source
DamageSourceName
Declaration
public string DamageSourceName { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
EntityInstanceId
Declaration
public string EntityInstanceId { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Health
Declaration
public double Health { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
IsAlive
Declaration
public bool IsAlive { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MaxHealth
Declaration
public double MaxHealth { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
State
Declaration
public IEntityState State { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public IWorldTransform Transform { get; }
Property Value
|
Improve this Doc
View Source
Zombie
Declaration
public Zombie Zombie { get; }
Property Value
Methods
|
Improve this Doc
View Source
DamageAsync(Double)
Declaration
public Task DamageAsync(double amount)
Parameters
Type |
Name |
Description |
System.Double |
amount |
|
Returns
|
Improve this Doc
View Source
KillAsync()
Declaration
Returns
|
Improve this Doc
View Source
SetFullHealthAsync()
Declaration
public Task SetFullHealthAsync()
Returns
|
Improve this Doc
View Source
SetHealthAsync(Double)
Declaration
public Task SetHealthAsync(double health)
Parameters
Type |
Name |
Description |
System.Double |
health |
|
Returns
|
Improve this Doc
View Source
SetPositionAsync(Vector3)
Declaration
public Task<bool> SetPositionAsync(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Returns
Type |
Description |
Task<System.Boolean> |
|
|
Improve this Doc
View Source
SetPositionAsync(Vector3, Quaternion)
Declaration
public Task<bool> SetPositionAsync(Vector3 position, Quaternion rotation)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Returns
Type |
Description |
Task<System.Boolean> |
|
Implements
Extension Methods