| | |
| | | }
|
| | |
|
| | | const string chatReportUrl = "http://monitor.secondworld.net.cn:12000/chat_receiver?";
|
| | | public void ChatReport(string content, string channelName, string toPlayer)
|
| | | public void ChatReport(string content, string channelName, string toPlayer, ChatInfoType chatType)
|
| | | {
|
| | | #if !UNITY_EDITOR
|
| | | bool isFairy = chatType == ChatInfoType.Fairy;
|
| | | var tables = new Dictionary<string, string>();
|
| | | tables["ProductID"] = "snxxz";
|
| | | tables["OperatorID"] = VersionConfig.Get().appId;
|
| | |
| | | tables["IP"] = DeviceUtility.GetIp();
|
| | | tables["ChatChannel"] = channelName;
|
| | | tables["AccountID"] = ModelCenter.Instance.GetModel<LoginModel>().sdkLoginResult.account;
|
| | | tables["RoleID"] = PlayerDatas.Instance.baseData.PlayerName;
|
| | | tables["RoleID"] = StringUtility.Contact(isFairy ? PlayerDatas.Instance.baseData.FamilyName : string.Empty,
|
| | | isFairy ? "-" : string.Empty, PlayerDatas.Instance.baseData.PlayerName);
|
| | | tables["ToRoleID"] = toPlayer;
|
| | | tables["Level"] = PlayerDatas.Instance.baseData.LV.ToString();
|
| | | tables["VIPLevel"] = PlayerDatas.Instance.baseData.VIPLv.ToString();
|