HeroEngine Forums

HeroEngine Support => Scripting & Programming => Topic started by: PRatliff on Jul 02, 12, 07:26:21 PM

Title: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: PRatliff on Jul 02, 12, 07:26:21 PM
I'm getting terribly confused with many of the system objects, like E_Playercharacter inheriting E_CommonCharacter inheriting _PlayerCharacter. Is there a diagram that shows the basic inheritance/hierarchy for the system specific stuff ?
Title: Re: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: PRatliff on Jul 02, 12, 07:48:11 PM
And on a related note, is there any documentation for the default Events sent by the Server? E.g. OnCombatEvent, OnAbilityActivate..
Title: Re: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: FI-ScottZ on Jul 02, 12, 10:53:57 PM
There are some around, if you search the wiki for things like character, such as the small one here:
http://hewiki.heroengine.com/wiki/Account_Character_Tree#Account

I made some diagrams myself just from my own investigations for helping out our new members.  I'll dig them up and post them if there is nothing too similar already up.
Title: Re: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: FI-ScottZ on Jul 02, 12, 11:25:51 PM
I don't do much wiki editing, and after playing around in it a bit I am not sure if I even can upload images to it, so I'll post here.  Sorry they don't fit too well, but you can download them from the link underneath them.

If the HeroWiki administrators want to add these diagrams, feel free.

These are the character trees:
Title: Re: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: FI-ScottZ on Jul 02, 12, 11:28:59 PM
Here is a more in-depth depiction of the relationship between account and character(s), using the E_ classes.  Note that each account can have more than one character and each character can have more than one CharacterAppearance and more than one E_Ability.

The arrows are associations which point from source to target.

These associations only exist on the server side.
Title: Re: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: FI-ScottZ on Jul 02, 12, 11:33:36 PM
Finally, here is the relationship in an area between the area root, assets, and instances:

EDIT: The picture is not quite right: The AreaRoot is hard assoc'd to an AreaNode and then *that* AreaNode is hard assoc'd to the RoomNodes, AreaAssets, and other things.

Also, this only applies to the server side.  These classes do not exist on the client side.
Title: Re: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: PRatliff on Jul 03, 12, 12:04:48 AM
OH GOD YES. THANK YOU SCOTT!
Title: Re: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: FI-ScottZ on Jul 03, 12, 11:19:07 AM
np  :D
Title: Re: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?
Post by: TGSRofar on Jul 03, 12, 05:53:24 PM
Very nice Scott! Thanks for posting these :)