示例#1
0
        public static SR_Login ReadLogin(PacketReader reader)
        {
            var ret = new SR_Login();
            ret.UserName = reader.ReadUTF8String();
            ret.Pwd = reader.ReadUTF8String();

            return ret;
        }
        public static SR_Login ReadLogin(PacketReader reader)
        {
            var ret = new SR_Login();

            ret.UserName = reader.ReadUTF8String();
            ret.Pwd      = reader.ReadUTF8String();

            return(ret);
        }