Module: Lich::Gemstone::Group::Observer::Term Private
- Defined in:
- documented/gemstone/group.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Regular expressions and constants for matching group-related game output.
Constant Summary collapse
- JOIN =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when someone joins your group
%r{^<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> joins your group.\r?\n?$}- LEAVE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when someone leaves your group
%r{^<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> leaves your group.\r?\n?$}- ADD =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you add someone to your group
%r{^You add <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> to your group.\r?\n?$}- REMOVE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you remove someone from the group
%r{^You remove <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> from the group.\r?\n?$}- NOOP =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when trying to add someone already in group
%r{^But <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> is already a member of your group!\r?\n?$}- HAS_LEADER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you receive leadership
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> designates you as the new leader of the group\.\r?\n?$}- SWAP_LEADER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when leadership changes to another player
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> designates <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> as the new leader of the group.\r?\n?$}- GAVE_LEADER_AWAY =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you give away leadership
%r{You designate <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> as the new leader of the group\.\r?\n?$}- DISBAND =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you disband the group
%r{^You disband your group}- ADDED_TO_NEW_GROUP =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you're added to someone's group
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> adds you to <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> group.\r?\n?$}- JOINED_NEW_GROUP =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you join someone's group
%r{You join <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a>\.\r?\n?$}- LEADER_ADDED_MEMBER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when your leader adds another member
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> adds <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> to <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> group\.\r?\n?$}- LEADER_REMOVED_MEMBER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when your leader removes a member
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> removes <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> from the group\.\r?\n?$}- HOLD_RESERVED_FIRST =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you grab someone's hand (reserved demeanor)
%r{^You grab <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> hand.\r?\n?$}- HOLD_NEUTRAL_FIRST =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you hold someone's hand (neutral demeanor)
%r{^You reach out and hold <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> hand.\r?\n?$}- HOLD_FRIENDLY_FIRST =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you take someone's hand (friendly demeanor)
%r{^You gently take hold of <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> hand.\r?\n?$}- HOLD_WARM_FIRST =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you clasp someone's hand (warm demeanor)
%r{^You clasp <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> hand tenderly.\r?\n?$}- HOLD_RESERVED_SECOND =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when someone grabs your hand (reserved demeanor)
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> grabs your hand.\r?\n?$}- HOLD_NEUTRAL_SECOND =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when someone holds your hand (neutral demeanor)
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> reaches out and holds your hand.\r?\n?$}- HOLD_FRIENDLY_SECOND =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when someone takes your hand (friendly demeanor)
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> gently takes hold of your hand.\r?\n?$}- HOLD_WARM_SECOND =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when someone clasps your hand (warm demeanor)
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> clasps your hand tenderly.\r?\n?$}- HOLD_RESERVED_THIRD =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you observe someone grabbing another's hand (reserved demeanor)
%r{^<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> grabs <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> hand.\r?\n?$}- HOLD_NEUTRAL_THIRD =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you observe someone holding another's hand (neutral demeanor)
%r{^<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> reaches out and holds <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> hand.\r?\n?$}- HOLD_FRIENDLY_THIRD =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you observe someone taking another's hand (friendly demeanor)
%r{^<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> gently takes hold of <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> hand.\r?\n?$}- HOLD_WARM_THIRD =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when you observe someone clasping another's hand (warm demeanor)
%r{^<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> clasps <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> hand tenderly.\r?\n?$}- OTHER_JOINED_GROUP =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches when someone else joins another's group
%r{^<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>\w+?)</a> joins <a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a> group.\r?\n?$}- NO_GROUP =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Authoritative GROUP response confirming empty membership.
/^You are not currently in a group/- NO_GROUP_TO_DISBAND =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
DISBAND can produce this for a follower who remains in the leader's group, so it invalidates cached state but cannot clear membership.
/^You have no group to disband\./- MEMBER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches group member listing from GROUP command
/^You are (?:leading|grouped with) (.*)/- STATUS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matches group status line
/^Your group status is currently (?<status>open|closed)\./- GROUP_EMPTIED =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
UI indicator showing group is empty
%[<indicator id='IconJOINED' visible='n'/>]- GROUP_EXISTS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
UI indicator showing group exists
%[<indicator id='IconJOINED' visible='y'/>]- GIVEN_LEADERSHIP =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Text indicating leadership transfer
%[designates you as the new leader of the group.]- ANY =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Combined regex matching any group-related message
Regexp.union( JOIN, LEAVE, ADD, REMOVE, DISBAND, NOOP, STATUS, NO_GROUP, NO_GROUP_TO_DISBAND, MEMBER, HAS_LEADER, SWAP_LEADER, LEADER_ADDED_MEMBER, LEADER_REMOVED_MEMBER, ADDED_TO_NEW_GROUP, JOINED_NEW_GROUP, GAVE_LEADER_AWAY, HOLD_RESERVED_FIRST, HOLD_NEUTRAL_FIRST, HOLD_FRIENDLY_FIRST, HOLD_WARM_FIRST, HOLD_RESERVED_SECOND, HOLD_NEUTRAL_SECOND, HOLD_FRIENDLY_SECOND, HOLD_WARM_SECOND, HOLD_RESERVED_THIRD, HOLD_NEUTRAL_THIRD, HOLD_FRIENDLY_THIRD, HOLD_WARM_THIRD, OTHER_JOINED_GROUP, )
- EXIST =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Regex for extracting character data from XML tags
%r{<a exist="(?<id>[\d-]+)" noun="(?<noun>[A-Za-z]+)">(?<name>[\w']+?)</a>}