Members

From Intrigues Wiki
Revision as of 19:15, 4 January 2024 by Tayfunwiki (talk | contribs) (Created page with "== <code>Members</code> Property in Clan Class == === Overview === The <code>Members</code> property in the Clan class provides a collection of actors who are part of the clan. This property is crucial for representing the clan's population and its individual members within the game's world. === Property Definition === <syntaxhighlight lang="c#"> public IEnumerable<Actor> Members => members; </syntaxhighlight> === Description === * Type: <code>IEnumerable<Actor></cod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Members Property in Clan Class

Overview

The Members property in the Clan class provides a collection of actors who are part of the clan. This property is crucial for representing the clan's population and its individual members within the game's world.

Property Definition

public IEnumerable<Actor> Members => members;

Description

  • Type: IEnumerable<Actor>
  • Accessibility: Publicly gettable.
  • Purpose: Lists the actors who are members of the clan.

Functionality

  • The Members property holds a collection of Actor objects, each representing an individual member of the clan.
  • It is used to access and interact with the clan's members in various gameplay scenarios, such as clan-based quests, social interactions, or resource management.

Usage

This property is typically used in game systems involving clan dynamics, such as managing clan relationships, assigning roles or tasks to clan members, or implementing clan-specific events and narratives.

Remarks

  • The Members property plays a significant role in depicting the social structure and dynamics of the clan.
  • It allows for diverse gameplay interactions and storytelling opportunities based on the composition and characteristics of the clan's members.