| | |
| | | public class OperationLogCollect : Singleton<OperationLogCollect>
|
| | | {
|
| | |
|
| | | const string bugReportUrl = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
|
| | | const string bugReportUrl = "http://gamecenter.secondworld.net.cn:11000/center/eventreport.php?";
|
| | |
|
| | | public void BugReport(string _title, string _content)
|
| | | {
|
| | |
| | | tables["EventID"] = 9002.ToString();
|
| | | tables["ProductID"] = VersionConfig.Get().gameId;
|
| | | tables["Time"] = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
| | | tables["IP"] = DeviceUtility.GetIp();
|
| | | tables["IP"] = DeviceUtility.GetCachedIp();
|
| | | tables["AccountID"] = LoginManager.Instance.sdkLoginResult.account;
|
| | | tables["Level"] = PlayerDatas.Instance.baseData.LV.ToString();
|
| | | tables["RoleID"] = PlayerDatas.Instance.baseData.PlayerName;
|
| | |
| | | tables["EventID"] = 9002.ToString();
|
| | | tables["ProductID"] = VersionConfig.Get().gameId;
|
| | | tables["Time"] = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
| | | tables["IP"] = DeviceUtility.GetIp();
|
| | | tables["IP"] = DeviceUtility.GetCachedIp();
|
| | | tables["AccountID"] = "system";
|
| | | tables["Level"] = "1";
|
| | | tables["RoleID"] = "system";
|
| | |
| | | }
|
| | |
|
| | |
|
| | | const string chatReportUrl = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
|
| | | const string chatReportUrl = "http://gamecenter.secondworld.net.cn:11000/center/eventreport.php?";
|
| | | public void ChatReport(string content, string channelName, string toPlayer, int chatType)
|
| | | {
|
| | | #if !UNITY_EDITOR
|
| | |
| | | tables["RegionID"] = ServerListCenter.Instance.currentServer.region_flag.ToString();
|
| | | tables["EventID"] = 9003.ToString();
|
| | | tables["Time"] = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
| | | tables["IP"] = DeviceUtility.GetIp();
|
| | | tables["IP"] = DeviceUtility.GetCachedIp();
|
| | | tables["ChatChannel"] = channelName;
|
| | | var sdkLoginResult = LoginManager.Instance.sdkLoginResult;
|
| | | tables["AccountID"] = sdkLoginResult == null ? LoginManager.Instance.accountBuf : sdkLoginResult.account;
|