C# Class Pluton.Entity

Inheritance: CountedInstance
显示文件 Open project: Notulp/Pluton

Public Properties

Property Type Description
Prefab string
PrefabID uint

Public Methods

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

Method Details

Entity() public method

public Entity ( BaseEntity ent ) : System
ent 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