Vixen
c7401864
csharp
public record class GroupPolicyDefinition

How big a group is, who may invite, and what roles it has.

Read the guide page for this →

Remarks

⚠ Every member is settable, for the YAML binder's reason — see ModifierDefinition.

Fields and properties (9)

  • public GroupKind Kind

    What kind of group this describes.

  • public string DisplayName

    What it is called in the UI.

  • public int MaximumMembers

    How many fit.

  • public int SubgroupSize

    How many fit in one subgroup, or zero for a group with no subgroups.

  • public bool MembersMayInvite

    Whether anybody but the leader may invite.

  • public bool MembersMayLeave

    Whether anybody may leave. False for a match team.

  • public float InviteSeconds

    How long an invite stands, in seconds.

  • public string Tag

    What being in one is — Group.Party. Empty for a group nothing asks about.

  • public List<string> Roles

    The roles a member may take — Role.Tank. Empty for a group with no roles.

Methods (1)

  • public override void CollectTags(ICollection<string> tags)

    Every tag this definition mentions, so the content build can bake the tag table.

Used by (8)

  • ContentVixen.Gameplay.Social.Tests
  • GroupPolicyVixen.Gameplay.Social
  • PlayerGroupVixen.Gameplay.Social
  • SocialLibraryVixen.Gameplay.Social
  • SocialLibraryTestsVixen.Gameplay.Social.Tests
  • SocialModuleVixen.Gameplay.Social
  • TypeRegistrationVixen.Gameplay.Social
  • Vixen_Gameplay_Social_GroupPolicyDefinitionSerializerVixen.Gameplay.Social