public void ExecuteCommand(GameSession session, ProtobufRequestInfo requestInfo) { if (!Gongyong.userlist.Any(w => w.session.SessionID.Equals(session.SessionID))) { session.Logger.Debug("Managed : 非法连接"); session.Close(); return; } var sendData = SendManaged.ParseFrom(requestInfo.Body); if (sendData.State == 1) { ThreadUtility.Change(sendData.Openid); } }