You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
731 B
28 lines
731 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
using Sog;
|
|
using Sog.Log;
|
|
using ProtoCSStruct;
|
|
|
|
namespace Friend
|
|
{
|
|
public static class FriendBillLogUtils
|
|
{
|
|
public static void LogFriendList(long uid, string accountId, int friendNum, int dayElapse)
|
|
{
|
|
BillLogHelper blh = new BillLogHelper((int) BillLogType.FriendList);
|
|
|
|
blh.Append("uid", uid);
|
|
blh.Append("accountId", accountId);
|
|
blh.Append("friendCount", friendNum);
|
|
blh.Append("createElapse", dayElapse);
|
|
|
|
string logMessage = blh.ToString();
|
|
BillLogWriter.Instance.SendToBillLogSvr(uid, logMessage);
|
|
}
|
|
|
|
}
|
|
}
|
|
|