FullName

From Intrigues Wiki

FullName Property in Actor Class

Overview

The FullName property in the Actor class is used to retrieve the complete and formal name of the actor, typically formatted to include the actor's role title, given name, and family name.

Syntax

public string FullName {
    get {
        // logic to construct the full name
    }
}

Description

  • Property Type: string. The FullName property is a string representing the actor's full name.
  • Property Logic: This property constructs the full name by concatenating the actor's role title, given name, and family name. The logic includes:
    • Retrieving the actor's name.
    • Optionally including the actor's role title, which may depend on the actor's gender.
    • Appending the actor's family name if available, typically prefixed with a term like "of".
  • Purpose: The FullName property is essential for providing a detailed and formal identification of the actor, which can be important in games with hierarchical social structures, complex narratives, or formal interactions.

Usage

This property is used to access the actor's complete name, formatted to include titles and family affiliations. It is particularly useful in user interfaces, narrative exposition, and dialogue, where formal identification adds to character depth and story immersion.

Example:

string actorFullName = someActor.FullName;
// Use actorFullName in dialogue, UI elements, or for narrative purposes

In this example, the actor's full name is accessed and can be used in various contexts, such as during in-game dialogues, in character profiles, or in storytelling elements.

Remarks

  • The construction of the FullName considers cultural or game-world norms for name presentation, adding authenticity to the game's setting.
  • The use of role titles and family names in the full name enhances the depth of character portrayal and can reflect the character's social standing or background.
  • The FullName property is particularly relevant in role-playing games, strategy games, or any game where character identity plays a significant role in the gameplay and narrative experience.