您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
495 B

namespace LobbyRelaySample
{
public enum EmoteType { None = 0, Smile, Frown, Shock, Laugh }
public static class EmoteTypeExtensions
{
public static string GetString(this EmoteType emote)
{
return
emote == EmoteType.Smile ? ":D" :
emote == EmoteType.Frown ? ":(" :
emote == EmoteType.Shock ? ":O" :
emote == EmoteType.Laugh ? "XD" :
"";
}
}
}