C# Class Pluton.Rust.Objects.Entity

Inheritance: CountedInstance
Mostra file Open project: Notulp/Pluton.Rust

Public Properties

Property Type Description
Prefab string
PrefabID uint

Public Methods

Method Description
Entity ( Core.BaseEntity ent ) : System
IsBuildingPart ( ) : bool
IsNPC ( ) : bool
IsPlayer ( ) : bool
Kill ( ) : void
ToBuildingPart ( ) : BuildingPart
ToNPC ( ) : NPC
ToPlayer ( ) : Player

Method Details

Entity() public method

public Entity ( Core.BaseEntity ent ) : System
ent Core.BaseEntity
return System

IsBuildingPart() public method

public IsBuildingPart ( ) : bool
return bool

IsNPC() public method

public IsNPC ( ) : bool
return bool

IsPlayer() public method

public IsPlayer ( ) : bool
return bool

Kill() public method

public Kill ( ) : void
return void

ToBuildingPart() public method

public ToBuildingPart ( ) : BuildingPart
return BuildingPart

ToNPC() public method

public ToNPC ( ) : NPC
return NPC

ToPlayer() public method

public ToPlayer ( ) : Player
return Player

Property Details

Prefab public_oe property

public string Prefab
return string

PrefabID public_oe property

public uint PrefabID
return uint