HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: Is there a class hierarchy diagram for the base HE/CleanEngine stuff?  (Read 3725 times)

PRatliff

  • World Owners
  • ****
  • Posts: 14
    • View Profile

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 ?
Logged

PRatliff

  • World Owners
  • ****
  • Posts: 14
    • View Profile

And on a related note, is there any documentation for the default Events sent by the Server? E.g. OnCombatEvent, OnAbilityActivate..
Logged

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.

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.
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.

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:
« Last Edit: Jul 02, 12, 11:30:54 PM by ScottZarnke »
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.

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.
« Last Edit: Mar 29, 13, 03:45:05 AM by ScottZarnke »
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.

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.
« Last Edit: Feb 07, 13, 12:45:22 PM by ScottZarnke »
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

PRatliff

  • World Owners
  • ****
  • Posts: 14
    • View Profile

OH GOD YES. THANK YOU SCOTT!
Logged

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.

np  :D
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

TGSRofar

  • General Accounts
  • *
  • Posts: 153
    • View Profile

Very nice Scott! Thanks for posting these :)
Logged
Ron Farrell
Lead Programmer
Triad Game Studios