| | |
| | | {
|
| | | bubbleId = int.Parse(extra.Substring(4, extraLength > 5 ? 2 : 1));
|
| | | }
|
| | | if (extraLength > 12)
|
| | | {
|
| | | serverGroupId = int.Parse(extra.Substring(6, 7));
|
| | | }
|
| | | if (extraLength > 16)
|
| | | {
|
| | | level = int.Parse(extra.Substring(13, 4));
|
| | | }
|
| | | if (ChatCenter.s_VoiceRegex.IsMatch(_content))
|
| | | {
|
| | | var _match = ChatCenter.s_VoiceRegex.Match(_content);
|
| | |
| | | public long soundTick { get; private set; }
|
| | | public bool IsSound { get; private set; }
|
| | | public float soundLength { get; private set; }
|
| | | public int serverGroupId { get; private set; }
|
| | | public int level { get; private set; }
|
| | | }
|
| | |
|
| | | public class ChatSystemData : ChatData
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public class ChatCrossServerData : ChatUeseData
|
| | | {
|
| | | public ChatCrossServerData(string content, int player, string name, string extra) : base(content, player, name, extra)
|
| | | {
|
| | | type = ChatInfoType.CrossServer;
|
| | | }
|
| | | }
|
| | |
|
| | | public class ChatTeamData : ChatUeseData
|
| | | {
|
| | | public ChatTeamData(string content, int player, string name, string extra, ChatInfoType detailType = ChatInfoType.Team) : base(content, player, name, extra)
|