Beispiel #1
0
        public static LogoutRequest CreateLogoutRequestEntity(string sessionKey, uint uin, string deviceID, string OSType)
        {
            BaseRequest @base = CreateBaseRequestEntity(deviceID, sessionKey, uin, OSType);

            LogoutRequest.Builder builder = new LogoutRequest.Builder();
            builder.SetBase(@base);
            builder.SetScene(2);
            return(builder.Build());
        }
Beispiel #2
0
        public static LogoutRequest CreateLogoutRequestEntity(string sessionKey, uint uin, string deviceID, string OSType)
        {
            BaseRequest br = CreateBaseRequestEntity(deviceID, sessionKey, uin, OSType);

            LogoutRequest.Builder lrb = new LogoutRequest.Builder();
            lrb.SetBase(br);
            lrb.SetScene(2);

            return(lrb.Build());
        }