ICECreatureControl  1.3.2
Public Member Functions | Public Attributes | Properties | List of all members
ICE.Creatures.Objects.TargetDataObject Class Reference
Inheritance diagram for ICE.Creatures.Objects.TargetDataObject:
Inheritance graph
Collaboration diagram for ICE.Creatures.Objects.TargetDataObject:
Collaboration graph

Public Member Functions

 TargetDataObject ()
 
 TargetDataObject (TargetType _type)
 
 TargetDataObject (TargetDataObject _data)
 
void OnBeforeSerialize ()
 
void OnAfterDeserialize ()
 
void Copy (TargetDataObject _data)
 
void SetOwner (GameObject _owner)
 
void SetTargetByTag (string _tag, GameObject _owner=null)
 Sets the target by tag. More...
 
void SetTargetByName (string _name, GameObject _owner=null)
 Sets the name of the target by. More...
 
void SetTargetByGameObject (GameObject _object)
 Sets the target by game object. More...
 
GameObject OverrideTargetGameObject (GameObject _object)
 Overrides the TargetGameObject. More...
 
void SetType (TargetType _type)
 
void SetIsPrefab (bool _value)
 
- Public Member Functions inherited from ICE.Creatures.Objects.EntityDataObject
 EntityDataObject ()
 
 EntityDataObject (EntityDataObject _data)
 
void Copy (EntityDataObject _data)
 

Public Attributes

string BehaviourModeKey = ""
 
TargetAccessType AccessType = TargetAccessType.NAME
 
bool UseChildObjects = false
 

Properties

GameObject Owner [get]
 
BehaviourEventsObject Events [get, set]
 
BroadcastMessageObject GroupMessage [get, set]
 
SelectionCriteriaObject Selectors [get, set]
 
TargetMoveObject Move [get, set]
 
TargetBehaviourObject Behaviour [get, set]
 
InfluenceObject Influences [get, set]
 
string TargetTag [get, set]
 
string TargetName [get, set]
 
string TargetParentName [get]
 Gets the name of the target parent. More...
 
bool TargetHasParent [get]
 Gets a value indicating whether this ICE.Creatures.Objects.TargetDataObject target has parent. More...
 
int LastTargetID [get]
 
int TargetID [get]
 
GameObject TargetGameObject [get]
 Gets the target GameObject. More...
 
TargetType Type [get]
 
bool IsPrefab [get]
 
string TargetTitle [get]
 
- Properties inherited from ICE.Creatures.Objects.EntityDataObject
EntityClassType EntityType [get]
 
new ICECreatureEntity EntityComponent [get]
 Returns the Entity as ICECreatureControl instance or null. More...
 
ICECreatureControl EntityCreature [get]
 Returns the Entity as ICECreatureControl instance or null. More...
 
ICECreaturePlayer EntityPlayer [get]
 Returns the Entity as ICECreaturePlayer instance or null. More...
 
ICECreaturePlant EntityPlant [get]
 Returns the Entity as ICECreaturePlant instance or null. More...
 
ICECreatureItem EntityItem [get]
 Returns the Entity as ICECreatureItem instance or null. More...
 
ICECreatureLocation EntityLocation [get]
 Returns the Entity as ICECreatureLocation instance or null. More...
 
ICECreatureWaypoint EntityWaypoint [get]
 Returns the Entity as ICECreatureWaypoint instance or null. More...
 
ICECreatureMarker EntityMarker [get]
 Returns the Entity as ICECreatureMarker instance or null. More...
 

Constructor & Destructor Documentation

ICE.Creatures.Objects.TargetDataObject.TargetDataObject ( )
ICE.Creatures.Objects.TargetDataObject.TargetDataObject ( TargetType  _type)
ICE.Creatures.Objects.TargetDataObject.TargetDataObject ( TargetDataObject  _data)

Member Function Documentation

void ICE.Creatures.Objects.TargetDataObject.Copy ( TargetDataObject  _data)
void ICE.Creatures.Objects.TargetDataObject.OnAfterDeserialize ( )
void ICE.Creatures.Objects.TargetDataObject.OnBeforeSerialize ( )
GameObject ICE.Creatures.Objects.TargetDataObject.OverrideTargetGameObject ( GameObject  _object)

Overrides the TargetGameObject.

Returns
The TargetGameObject.
Parameters
_objectGameObject.

Here is the caller graph for this function:

void ICE.Creatures.Objects.TargetDataObject.SetIsPrefab ( bool  _value)
void ICE.Creatures.Objects.TargetDataObject.SetOwner ( GameObject  _owner)
void ICE.Creatures.Objects.TargetDataObject.SetTargetByGameObject ( GameObject  _object)

Sets the target by game object.

Parameters
_objectObject.

Here is the call graph for this function:

void ICE.Creatures.Objects.TargetDataObject.SetTargetByName ( string  _name,
GameObject  _owner = null 
)

Sets the name of the target by.

Parameters
_nameName.
_ownerOwner.

Here is the call graph for this function:

void ICE.Creatures.Objects.TargetDataObject.SetTargetByTag ( string  _tag,
GameObject  _owner = null 
)

Sets the target by tag.

Parameters
_tagTag.
_ownerOwner.

Here is the call graph for this function:

void ICE.Creatures.Objects.TargetDataObject.SetType ( TargetType  _type)

Member Data Documentation

TargetAccessType ICE.Creatures.Objects.TargetDataObject.AccessType = TargetAccessType.NAME
string ICE.Creatures.Objects.TargetDataObject.BehaviourModeKey = ""
bool ICE.Creatures.Objects.TargetDataObject.UseChildObjects = false

Property Documentation

TargetBehaviourObject ICE.Creatures.Objects.TargetDataObject.Behaviour
getset
BehaviourEventsObject ICE.Creatures.Objects.TargetDataObject.Events
getset
BroadcastMessageObject ICE.Creatures.Objects.TargetDataObject.GroupMessage
getset
InfluenceObject ICE.Creatures.Objects.TargetDataObject.Influences
getset
bool ICE.Creatures.Objects.TargetDataObject.IsPrefab
get
int ICE.Creatures.Objects.TargetDataObject.LastTargetID
get
TargetMoveObject ICE.Creatures.Objects.TargetDataObject.Move
getset
GameObject ICE.Creatures.Objects.TargetDataObject.Owner
get
SelectionCriteriaObject ICE.Creatures.Objects.TargetDataObject.Selectors
getset
GameObject ICE.Creatures.Objects.TargetDataObject.TargetGameObject
get

Gets the target GameObject.

The target GameObject.

bool ICE.Creatures.Objects.TargetDataObject.TargetHasParent
get

Gets a value indicating whether this ICE.Creatures.Objects.TargetDataObject target has parent.

true if target has parent; otherwise, false.

int ICE.Creatures.Objects.TargetDataObject.TargetID
get
string ICE.Creatures.Objects.TargetDataObject.TargetName
getset
string ICE.Creatures.Objects.TargetDataObject.TargetParentName
get

Gets the name of the target parent.

The name of the target parent.

string ICE.Creatures.Objects.TargetDataObject.TargetTag
getset
string ICE.Creatures.Objects.TargetDataObject.TargetTitle
get
TargetType ICE.Creatures.Objects.TargetDataObject.Type
get

The documentation for this class was generated from the following file: