private static void ReadNews(Session Session, ClientMessage Message) { string[] GetParameter = Regex.Split(Message.ToString(), "³²"); uint num = uint.Parse(GetParameter[2]); for (int i = 0; i < NewsCacheManager.list_0.Count; i++) { if (NewsCacheManager.list_0[i].Id.Equals(num)) { Session.SendData(NewsContentComposer.Compose(NewsCacheManager.list_0[i])); } } }
private static void smethod_2(Session session_0, ClientMessage clientMessage_0) { clientMessage_0.ReadString(); uint num = clientMessage_0.ReadUnsignedInteger(); for (int i = 0; i < NewsCacheManager.list_0.Count; i++) { if (NewsCacheManager.list_0[i].UInt32_0.Equals(num)) { session_0.SendData(NewsContentComposer.Compose(NewsCacheManager.list_0[i]), false); } } }