C# Class LogicSpawn.GTARPG.Core.NpcObject

Inheritance: LogicSpawn.GTARPG.Core.WorldObject
Datei anzeigen Open project: logicspawn/GTARPG Class Usage Examples

Public Properties

Property Type Description
BlipSprite BlipSprite
Dialog DialogContainer
Heading float
IsQuestNpc bool
IsVendor bool
ModelName PedHash
PersonalQuestLine List
Position Vector3
QuestConditionChecks List
QuestHandIns List
QuestsToGive List
SideQuests List
SimpleDialog List
Spawned bool

Public Methods

Method Description
GetNpcStatus ( ) : string
NpcObject ( ) : System
NpcObject ( string name, GTA.Ped ped ) : System
NpcObject ( string name, PedHash modelName, Vector3 pos, float heading ) : System
SetAsVendor ( ) : NpcObject
SetBlip ( BlipSprite sprite ) : void
SetDialog ( string npcText ) : DialogContainer
SetPed ( GTA.Ped ped ) : void
SetPersonalQuestLine ( ) : void
SetQuestConditions ( ) : void
SetQuestHandIns ( ) : void
SetQuestsToGive ( ) : void
SetSideQuests ( ) : void
SetSimpleDialog ( ) : NpcObject

Protected Methods

Method Description
RemoveFromWorld ( ) : void

Method Details

GetNpcStatus() public method

public GetNpcStatus ( ) : string
return string

NpcObject() public method

public NpcObject ( ) : System
return System

NpcObject() public method

public NpcObject ( string name, GTA.Ped ped ) : System
name string
ped GTA.Ped
return System

NpcObject() public method

public NpcObject ( string name, PedHash modelName, Vector3 pos, float heading ) : System
name string
modelName PedHash
pos Vector3
heading float
return System

RemoveFromWorld() protected method

protected RemoveFromWorld ( ) : void
return void

SetAsVendor() public method

public SetAsVendor ( ) : NpcObject
return NpcObject

SetBlip() public method

public SetBlip ( BlipSprite sprite ) : void
sprite BlipSprite
return void

SetDialog() public method

public SetDialog ( string npcText ) : DialogContainer
npcText string
return DialogContainer

SetPed() public method

public SetPed ( GTA.Ped ped ) : void
ped GTA.Ped
return void

SetPersonalQuestLine() public method

public SetPersonalQuestLine ( ) : void
return void

SetQuestConditions() public method

public SetQuestConditions ( ) : void
return void

SetQuestHandIns() public method

public SetQuestHandIns ( ) : void
return void

SetQuestsToGive() public method

public SetQuestsToGive ( ) : void
return void

SetSideQuests() public method

public SetSideQuests ( ) : void
return void

SetSimpleDialog() public method

public SetSimpleDialog ( ) : NpcObject
return NpcObject

Property Details

BlipSprite public_oe property

public BlipSprite BlipSprite
return BlipSprite

Dialog public_oe property

public DialogContainer,LogicSpawn.GTARPG.Core Dialog
return DialogContainer

Heading public_oe property

public float Heading
return float

IsQuestNpc public_oe property

public bool IsQuestNpc
return bool

IsVendor public_oe property

public bool IsVendor
return bool

ModelName public_oe property

public PedHash ModelName
return PedHash

PersonalQuestLine public_oe property

public List PersonalQuestLine
return List

Position public_oe property

public Vector3 Position
return Vector3

QuestConditionChecks public_oe property

public List QuestConditionChecks
return List

QuestHandIns public_oe property

public List QuestHandIns
return List

QuestsToGive public_oe property

public List QuestsToGive
return List

SideQuests public_oe property

public List SideQuests
return List

SimpleDialog public_oe property

public List SimpleDialog
return List

Spawned public_oe property

public bool Spawned
return bool