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

Public Member Functions

override void Awake ()
 
override void OnDestroy ()
 
override void Start ()
 
override void Update ()
 
List< ReferenceGroupObjectGetReferenceGroupObjectsByType (EntityClassType _type)
 
new ReferenceGroupObject Register (GameObject _object)
 Register the specified _object. More...
 
override bool Deregister (GameObject _object)
 Deregister the specified _object. More...
 
bool AttachToTransform (GameObject _object, Transform _transform)
 
bool DetachFromTransform (GameObject _object)
 
override GameObject Spawn (GameObject _reference, Vector3 _position, Quaternion _rotation)
 
override bool Remove (GameObject _object)
 
void SendGroupMessage (ReferenceGroupObject _sender_group, GameObject _sender, BroadcastMessageDataObject _msg)
 
ReferenceGroupObject GetGroupByName (string _name)
 
GameObject GetRandomTargetByName (string _name)
 Gets the random name of the target by. More...
 
GameObject GetRandomTargetByTag (string _tag)
 Gets the random target by tag. More...
 
GameObject FindNearestTargetByName (GameObject _sender, string _name, float _distance, bool _allow_child)
 Finds the nearest target by name. More...
 
GameObject[] FindTargetsByName (GameObject _sender, string _name, float _distance, bool _allow_child)
 
GameObject FindNearestTargetByTag (GameObject _sender, string _tag, float _range, bool _allow_child)
 Finds the nearest target by tag. More...
 
GameObject[] FindTargetsByTag (GameObject _sender, string _tag, float _range, bool _allow_child)
 
List< string > GetReferenceNamesByEntityType (EntityClassType _type)
 
List< string > GetReferenceNamesByType< T > ()
 
GameObject GetReferenceGameObjectByTag (string _tag)
 Gets the reference game object by tag. More...
 
GameObject GetReferenceGameObjectByName (string _name)
 Gets the reference game object by name. More...
 
int GetReferenceIndexByName (string _name)
 
override Color GetDebugDefaultColor (GameObject _object)
 
List< GameObject > GetActiveGroupItemsByName (string _name)
 Gets a list with all active GameObjects of the named group. More...
 
List< GameObject > GetActiveGroupItemsByTag (string _tag)
 Gets a list with all active GameObjects of the tagged group. More...
 
void InitialSpawn ()
 
void UpdateReferences ()
 
bool AddReference (GameObject _object)
 
ReferenceGroupObject AddReferenceAndReturnGroup (GameObject _object)
 

Static Public Member Functions

static ICECreatureRegister Create ()
 Creates a new creature register instance. More...
 
static bool Exists ()
 

Public Attributes

bool ShowReferencesInfo = false
 
string ReferencesInfo = ""
 
bool UsePoolManagement = false
 
bool NetworkConnectedAndReady = false
 
List< ReferenceGroupObjectReferenceGroupObjects = new List<ReferenceGroupObject>()
 
bool UseReferenceCategories = false
 

Properties

HierarchyManagementObject HierarchyManagement [get, set]
 
CreatureRegisterDebugObject RegisterDebug [get, set]
 
ReferenceGroupsObject References [get, set]
 
static new ICECreatureRegister Instance [get]
 
bool BreakAll [get, set]
 
List< ReferenceGroupCategoryReferenceGroupCategories [get]
 
List< string > ReferenceItemNames [get]
 Gets all the reference item names. More...
 
List< string > ReferencePlayerNames [get]
 
List< string > ReferenceZoneNames [get]
 
List< string > ReferenceGameObjectNames [get]
 Gets all reference GameObject names. More...
 
List< GameObject > ReferenceGameObjects [get]
 Gets all listed reference GameObjects. More...
 

Member Function Documentation

bool ICE.Creatures.ICECreatureRegister.AddReference ( GameObject  _object)

Here is the caller graph for this function:

ReferenceGroupObject ICE.Creatures.ICECreatureRegister.AddReferenceAndReturnGroup ( GameObject  _object)

Here is the caller graph for this function:

bool ICE.Creatures.ICECreatureRegister.AttachToTransform ( GameObject  _object,
Transform  _transform 
)

Here is the call graph for this function:

Here is the caller graph for this function:

override void ICE.Creatures.ICECreatureRegister.Awake ( )
static ICECreatureRegister ICE.Creatures.ICECreatureRegister.Create ( )
static

Creates a new creature register instance.

Here is the call graph for this function:

Here is the caller graph for this function:

override bool ICE.Creatures.ICECreatureRegister.Deregister ( GameObject  _object)

Deregister the specified _object.

Parameters
_object_object.

Here is the call graph for this function:

Here is the caller graph for this function:

bool ICE.Creatures.ICECreatureRegister.DetachFromTransform ( GameObject  _object)

Here is the call graph for this function:

Here is the caller graph for this function:

static bool ICE.Creatures.ICECreatureRegister.Exists ( )
static
GameObject ICE.Creatures.ICECreatureRegister.FindNearestTargetByName ( GameObject  _sender,
string  _name,
float  _distance,
bool  _allow_child 
)

Finds the nearest target by name.

FindNearestTargetByName will be called directly from a target to update the TargetGameObject

Returns
The nearest target by name.
Parameters
_nameName.
_positionPosition.
_distanceDistance.
_senderSender.

Here is the call graph for this function:

Here is the caller graph for this function:

GameObject ICE.Creatures.ICECreatureRegister.FindNearestTargetByTag ( GameObject  _sender,
string  _tag,
float  _range,
bool  _allow_child 
)

Finds the nearest target by tag.

FindNearestTargetByTag will be called directly from a target to update the TargetGameObject

Returns
The nearest target by tag.
Parameters
_tagTag.
_positionPosition.
_distanceDistance.
_senderSender.

Here is the call graph for this function:

Here is the caller graph for this function:

GameObject [] ICE.Creatures.ICECreatureRegister.FindTargetsByName ( GameObject  _sender,
string  _name,
float  _distance,
bool  _allow_child 
)

Here is the call graph for this function:

Here is the caller graph for this function:

GameObject [] ICE.Creatures.ICECreatureRegister.FindTargetsByTag ( GameObject  _sender,
string  _tag,
float  _range,
bool  _allow_child 
)

Here is the call graph for this function:

Here is the caller graph for this function:

List<GameObject> ICE.Creatures.ICECreatureRegister.GetActiveGroupItemsByName ( string  _name)

Gets a list with all active GameObjects of the named group.

Returns
All active GameObjects of the named group
Parameters
_nameName.

Here is the caller graph for this function:

List<GameObject> ICE.Creatures.ICECreatureRegister.GetActiveGroupItemsByTag ( string  _tag)

Gets a list with all active GameObjects of the tagged group.

Returns
All active GameObjects of the tagged group
Parameters
_nameName.

Here is the caller graph for this function:

override Color ICE.Creatures.ICECreatureRegister.GetDebugDefaultColor ( GameObject  _object)
ReferenceGroupObject ICE.Creatures.ICECreatureRegister.GetGroupByName ( string  _name)

Here is the call graph for this function:

GameObject ICE.Creatures.ICECreatureRegister.GetRandomTargetByName ( string  _name)

Gets the random name of the target by.

GetRandomTargetByTag will be called by a ReferenceGroupObject inside GetSpawnPosition()

Returns
The random target by name.
Parameters
_nameName.

Here is the call graph for this function:

Here is the caller graph for this function:

GameObject ICE.Creatures.ICECreatureRegister.GetRandomTargetByTag ( string  _tag)

Gets the random target by tag.

GetRandomTargetByTag will be called by a ReferenceGroupObject inside GetSpawnPosition()

Returns
The random target by tag.
Parameters
_tagTag.

Here is the caller graph for this function:

GameObject ICE.Creatures.ICECreatureRegister.GetReferenceGameObjectByName ( string  _name)

Gets the reference game object by name.

Returns
The reference game object by name.
Parameters
_nameName.

Here is the caller graph for this function:

GameObject ICE.Creatures.ICECreatureRegister.GetReferenceGameObjectByTag ( string  _tag)

Gets the reference game object by tag.

Returns
The reference game object by tag.
Parameters
_tagTag.

Here is the caller graph for this function:

List<ReferenceGroupObject> ICE.Creatures.ICECreatureRegister.GetReferenceGroupObjectsByType ( EntityClassType  _type)
int ICE.Creatures.ICECreatureRegister.GetReferenceIndexByName ( string  _name)

Here is the caller graph for this function:

List<string> ICE.Creatures.ICECreatureRegister.GetReferenceNamesByEntityType ( EntityClassType  _type)
List<string> ICE.Creatures.ICECreatureRegister.GetReferenceNamesByType< T > ( )
void ICE.Creatures.ICECreatureRegister.InitialSpawn ( )

Here is the call graph for this function:

override void ICE.Creatures.ICECreatureRegister.OnDestroy ( )
new ReferenceGroupObject ICE.Creatures.ICECreatureRegister.Register ( GameObject  _object)

Register the specified _object.

Parameters
_object_object.

Here is the call graph for this function:

Here is the caller graph for this function:

override bool ICE.Creatures.ICECreatureRegister.Remove ( GameObject  _object)

Here is the call graph for this function:

void ICE.Creatures.ICECreatureRegister.SendGroupMessage ( ReferenceGroupObject  _sender_group,
GameObject  _sender,
BroadcastMessageDataObject  _msg 
)

Here is the call graph for this function:

Here is the caller graph for this function:

override GameObject ICE.Creatures.ICECreatureRegister.Spawn ( GameObject  _reference,
Vector3  _position,
Quaternion  _rotation 
)

Here is the call graph for this function:

override void ICE.Creatures.ICECreatureRegister.Start ( )
override void ICE.Creatures.ICECreatureRegister.Update ( )

Here is the call graph for this function:

void ICE.Creatures.ICECreatureRegister.UpdateReferences ( )

Here is the caller graph for this function:

Member Data Documentation

bool ICE.Creatures.ICECreatureRegister.NetworkConnectedAndReady = false
List<ReferenceGroupObject> ICE.Creatures.ICECreatureRegister.ReferenceGroupObjects = new List<ReferenceGroupObject>()
string ICE.Creatures.ICECreatureRegister.ReferencesInfo = ""
bool ICE.Creatures.ICECreatureRegister.ShowReferencesInfo = false
bool ICE.Creatures.ICECreatureRegister.UsePoolManagement = false
bool ICE.Creatures.ICECreatureRegister.UseReferenceCategories = false

Property Documentation

bool ICE.Creatures.ICECreatureRegister.BreakAll
getset
HierarchyManagementObject ICE.Creatures.ICECreatureRegister.HierarchyManagement
getset
new ICECreatureRegister ICE.Creatures.ICECreatureRegister.Instance
staticget
List<string> ICE.Creatures.ICECreatureRegister.ReferenceGameObjectNames
get

Gets all reference GameObject names.

ReferenceGameObjectNames will be used only to fill the target selection popup

The reference GameObject names.

List<GameObject> ICE.Creatures.ICECreatureRegister.ReferenceGameObjects
get

Gets all listed reference GameObjects.

All reference targets.

List<ReferenceGroupCategory> ICE.Creatures.ICECreatureRegister.ReferenceGroupCategories
get
List<string> ICE.Creatures.ICECreatureRegister.ReferenceItemNames
get

Gets all the reference item names.

ReferenceItemNames will be used only to fill the item selection popup

The reference item names.

List<string> ICE.Creatures.ICECreatureRegister.ReferencePlayerNames
get
ReferenceGroupsObject ICE.Creatures.ICECreatureRegister.References
getset
List<string> ICE.Creatures.ICECreatureRegister.ReferenceZoneNames
get
CreatureRegisterDebugObject ICE.Creatures.ICECreatureRegister.RegisterDebug
getset

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