Add talk circles with TopicDef, staff/phone chat, and opinion outcomes.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
namespace HSchool.Content;
|
||||
|
||||
/// <summary>Leisure actions that form talk circles. Names match ActionDef ids in core.</summary>
|
||||
public static class TalkActions
|
||||
{
|
||||
public const string Chat = "Chat";
|
||||
public const string StaffChat = "StaffChat";
|
||||
public const string PhoneChat = "PhoneChat";
|
||||
|
||||
public static bool IsTalk(string? actionId) =>
|
||||
actionId is not null
|
||||
&& (actionId.Equals(Chat, StringComparison.Ordinal)
|
||||
|| actionId.Equals(StaffChat, StringComparison.Ordinal)
|
||||
|| actionId.Equals(PhoneChat, StringComparison.Ordinal));
|
||||
}
|
||||
|
||||
/// <summary>Vanilla topic tags from the social slice design doc.</summary>
|
||||
public static class TopicTags
|
||||
{
|
||||
public const string Study = "study";
|
||||
public const string Games = "games";
|
||||
public const string Food = "food";
|
||||
public const string Family = "family";
|
||||
public const string Sport = "sport";
|
||||
public const string Gossip = "gossip";
|
||||
public const string Rude = "rude";
|
||||
public const string Appearance = "appearance";
|
||||
}
|
||||
Reference in New Issue
Block a user