Inheritance: global::ProtoBuf.IExtensible
        private void HandleQueryUserState(Msg_LB_QueryUserState msg_, PBChannel channel, int src, uint session)
        {
            Msg_BL_QueryUserStateResult builder = new Msg_BL_QueryUserStateResult();
            builder.Guid = msg_.Guid;

            UserInfo info = m_UserProcessScheduler.GetUserInfo(msg_.Guid);
            if (null == info) {
                builder.State = (int)UserState.DropOrOffline;
            } else {
                builder.State = (int)info.CurrentState;
            }

            m_UserChannel.Send(src, builder);
        }
Ejemplo n.º 2
0
 internal void QueryBigworldUserState(ulong guid)
 {
     Msg_LB_QueryUserState builder = new Msg_LB_QueryUserState();
     builder.Guid = guid;
     UserServer.Instance.BigworldChannel.Send(builder);
 }