Verse Library verse

01 Snippet

Defines overlapping properties across multiple classes to establish a shared data structure.

extracted-snippets/documentation/en-us/uefn/subclass-in-verse/01-snippet.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/subclass-in-verse
# Local doc:  epic-docs/documentation/en-us/uefn/subclass-in-verse.md
# WARNING: Epic's page marks this snippet as click-to-expand. Only the preview portion was captured by the crawler — the full body is NOT in the markdown.
tank := class():
    StartingShields : int
    MaxShields : int
    AllowOvershield : logic
    DamageReduction : int

dps := class():
    StartingShields : int
    MaxShields : int
    AllowOvershield : logic

Comments

    Sign in to vote, comment, or suggest an edit. Sign in