private List <string> method_5(string string_1, bool bool_1) { ReqFriendsContract body = new ReqFriendsContract(bool_1, string_1); IMessageHandler interface2 = this.interface9_0.imethod_5 <ReqFriendsContract>(this.string_0, this.friendsMessageTypeRoom_0.GetFriends, body); IMessageHandler interface3 = this.interface31_0.imethod_1(interface2, new int?(this.friendsMessageTypeRoom_0.GetFriends)); return(this.interface9_0.imethod_1 <ResFriendsContract>(interface3).UserList); }
public IMessageHandler ProcessMessage(IMessageHandler interface37_0) { if (interface37_0.Header.MessageType == this.object_0.GetFriends) { ReqFriendsContract contract2 = this.interface9_0.imethod_1 <ReqFriendsContract>(interface37_0); List <string> users = new List <string>(); if (this.ifriendsManager_0 != null) { users = this.ifriendsManager_0.GetFriendsList(interface37_0.Header.UserID, contract2.Tag); if (contract2.JustOnline) { users = this.ginterface8_0.SelectOnlineUserFrom(users); } } ResFriendsContract body = new ResFriendsContract(users); IHeader interface2 = this.interface9_0.imethod_7(interface37_0.Header); return(this.interface9_0.imethod_2 <ResFriendsContract>(interface2, body)); } return(null); }