66 lines
1.9 KiB
C#
66 lines
1.9 KiB
C#
using Google.Protobuf.WellKnownTypes;
|
|
using Nettention.Proud;
|
|
using Newtonsoft.Json;
|
|
using ServerCommon;
|
|
using ServerCommon.BusinessLogDomain;
|
|
using ServerCore; using ServerBase;
|
|
using System.Collections.Concurrent;
|
|
using static ClientToGameReq.Types;
|
|
|
|
|
|
namespace GameServer
|
|
{
|
|
public partial class ClientSession
|
|
{
|
|
|
|
|
|
//
|
|
//
|
|
// public void getStateNotiFromFriend(string friendId, string friendGuid, string friendrNickName, int friendState, int friendMapId)
|
|
// {
|
|
//
|
|
// ClientSession? friendSession = ClientSessionManager.Instance.GetSessionByName(friendId);
|
|
//
|
|
// UserLocationInfo info = new();
|
|
// if (friendSession is null || friendSession._selectedChar is null)
|
|
// {
|
|
// Log.getLogger().warn($"{friendId} session is null so UserLocationInfo is empty", ToString());
|
|
// }
|
|
// else
|
|
// {
|
|
// friendSession._selectedChar.getLocationInfo(out var friendLocation);
|
|
// if (friendLocation is null)
|
|
// {
|
|
// Log.getLogger().warn($"{friendId} UserLocationInfo is null", ToString());
|
|
//
|
|
// }
|
|
// else
|
|
// {
|
|
// info = friendLocation;
|
|
// }
|
|
//
|
|
// }
|
|
//
|
|
//
|
|
|
|
//
|
|
// Send(RmiContext.ReliableSend, friendStateToMe);
|
|
// }
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
|
|
|
|
|
|
|
|
public string getAccountId()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
|
|
}
|
|
}
|