var HUYA = window.HUYA

// **********************************************************************
// This file was generated by a TAF parser!
// TAF version 2.1.6.5
// Generated from `ExtCapabilityUI.jce'
// **********************************************************************

var HUYA = HUYA || {};


HUYA.SetStorageReq = function()
{
    this.tId = new HUYA.UserId();
    this.appId = "";
    this.extUuid = "";
    this.pid = 0;
    this.dataKey = "";
    this.dataValue = "";
    this.request = new ExtComm.ExtCommonRequest();
};
HUYA.SetStorageReq.prototype._clone = function () { return new HUYA.SetStorageReq(); }
HUYA.SetStorageReq.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.SetStorageReq.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.SetStorageReq.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.tId);
    os.writeString(1, this.appId);
    os.writeString(2, this.extUuid);
    os.writeInt64(3, this.pid);
    os.writeString(4, this.dataKey);
    os.writeString(5, this.dataValue);
    os.writeStruct(6, this.request);
};

HUYA.SetStorageReq.prototype.readFrom = function (is)
{
    this.tId= is.readStruct(0, false, this.tId);
    this.appId= is.readString(1, false, this.appId);
    this.extUuid= is.readString(2, false, this.extUuid);
    this.pid= is.readInt64(3, false, this.pid);
    this.dataKey= is.readString(4, false, this.dataKey);
    this.dataValue= is.readString(5, false, this.dataValue);
    this.request= is.readStruct(6, false, this.request);
};

HUYA.SetStorageResp = function()
{
    this.response = new ExtComm.ExtCommonResponse();
};
HUYA.SetStorageResp.prototype._clone = function () { return new HUYA.SetStorageResp(); }
HUYA.SetStorageResp.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.SetStorageResp.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.SetStorageResp.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.response);
};

HUYA.SetStorageResp.prototype.readFrom = function (is)
{
    this.response= is.readStruct(0, false, this.response);
};

HUYA.GetStorageKeyReq = function()
{
    this.tId = new HUYA.UserId();
    this.appId = "";
    this.extUuid = "";
    this.pid = 0;
    this.dataKey = "";
    this.request = new ExtComm.ExtCommonRequest();
};
HUYA.GetStorageKeyReq.prototype._clone = function () { return new HUYA.GetStorageKeyReq(); }
HUYA.GetStorageKeyReq.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.GetStorageKeyReq.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.GetStorageKeyReq.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.tId);
    os.writeString(1, this.appId);
    os.writeString(2, this.extUuid);
    os.writeInt64(3, this.pid);
    os.writeString(4, this.dataKey);
    os.writeStruct(5, this.request);
};

HUYA.GetStorageKeyReq.prototype.readFrom = function (is)
{
    this.tId= is.readStruct(0, false, this.tId);
    this.appId= is.readString(1, false, this.appId);
    this.extUuid= is.readString(2, false, this.extUuid);
    this.pid= is.readInt64(3, false, this.pid);
    this.dataKey= is.readString(4, false, this.dataKey);
    this.request= is.readStruct(5, false, this.request);
};

HUYA.GetStorageKeyResp = function()
{
    this.response = new ExtComm.ExtCommonResponse();
    this.dataValue = "";
};
HUYA.GetStorageKeyResp.prototype._clone = function () { return new HUYA.GetStorageKeyResp(); }
HUYA.GetStorageKeyResp.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.GetStorageKeyResp.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.GetStorageKeyResp.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.response);
    os.writeString(1, this.dataValue);
};

HUYA.GetStorageKeyResp.prototype.readFrom = function (is)
{
    this.response= is.readStruct(0, false, this.response);
    this.dataValue= is.readString(1, false, this.dataValue);
};

HUYA.DelStorageKeyReq = function()
{
    this.tId = new HUYA.UserId();
    this.appId = "";
    this.extUuid = "";
    this.pid = 0;
    this.dataKey = "";
    this.request = new ExtComm.ExtCommonRequest();
};
HUYA.DelStorageKeyReq.prototype._clone = function () { return new HUYA.DelStorageKeyReq(); }
HUYA.DelStorageKeyReq.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.DelStorageKeyReq.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.DelStorageKeyReq.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.tId);
    os.writeString(1, this.appId);
    os.writeString(2, this.extUuid);
    os.writeInt64(3, this.pid);
    os.writeString(4, this.dataKey);
    os.writeStruct(5, this.request);
};

HUYA.DelStorageKeyReq.prototype.readFrom = function (is)
{
    this.tId= is.readStruct(0, false, this.tId);
    this.appId= is.readString(1, false, this.appId);
    this.extUuid= is.readString(2, false, this.extUuid);
    this.pid= is.readInt64(3, false, this.pid);
    this.dataKey= is.readString(4, false, this.dataKey);
    this.request= is.readStruct(5, false, this.request);
};

HUYA.DelStorageKeyResp = function()
{
    this.response = new ExtComm.ExtCommonResponse();
};
HUYA.DelStorageKeyResp.prototype._clone = function () { return new HUYA.DelStorageKeyResp(); }
HUYA.DelStorageKeyResp.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.DelStorageKeyResp.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.DelStorageKeyResp.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.response);
};

HUYA.DelStorageKeyResp.prototype.readFrom = function (is)
{
    this.response= is.readStruct(0, false, this.response);
};

HUYA.GetStorageAllKeysReq = function()
{
    this.tId = new HUYA.UserId();
    this.appId = "";
    this.extUuid = "";
    this.pid = 0;
    this.request = new ExtComm.ExtCommonRequest();
};
HUYA.GetStorageAllKeysReq.prototype._clone = function () { return new HUYA.GetStorageAllKeysReq(); }
HUYA.GetStorageAllKeysReq.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.GetStorageAllKeysReq.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.GetStorageAllKeysReq.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.tId);
    os.writeString(1, this.appId);
    os.writeString(2, this.extUuid);
    os.writeInt64(3, this.pid);
    os.writeStruct(4, this.request);
};

HUYA.GetStorageAllKeysReq.prototype.readFrom = function (is)
{
    this.tId= is.readStruct(0, false, this.tId);
    this.appId= is.readString(1, false, this.appId);
    this.extUuid= is.readString(2, false, this.extUuid);
    this.pid= is.readInt64(3, false, this.pid);
    this.request= is.readStruct(4, false, this.request);
};

HUYA.GetStorageAllKeysResp = function()
{
    this.response = new ExtComm.ExtCommonResponse();
    this.dataKeys = new Taf.Vector(new Taf.STRING());
};
HUYA.GetStorageAllKeysResp.prototype._clone = function () { return new HUYA.GetStorageAllKeysResp(); }
HUYA.GetStorageAllKeysResp.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.GetStorageAllKeysResp.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.GetStorageAllKeysResp.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.response);
    os.writeVector(1, this.dataKeys);
};

HUYA.GetStorageAllKeysResp.prototype.readFrom = function (is)
{
    this.response= is.readStruct(0, false, this.response);
    this.dataKeys= is.readVector(1, false, this.dataKeys);
};

HUYA.DeliverRoomMsgByUnionIdReq = function()
{
    this.tId = new HUYA.UserId();
    this.authorization = "";
    this.appId = "";
    this.extUuid = "";
    this.pid = 0;
    this.roomId = 0;
    this.event = "";
    this.message = "";
    this.request = new ExtComm.ExtCommonRequest();
};
HUYA.DeliverRoomMsgByUnionIdReq.prototype._clone = function () { return new HUYA.DeliverRoomMsgByUnionIdReq(); }
HUYA.DeliverRoomMsgByUnionIdReq.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.DeliverRoomMsgByUnionIdReq.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.DeliverRoomMsgByUnionIdReq.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.tId);
    os.writeString(1, this.authorization);
    os.writeString(2, this.appId);
    os.writeString(3, this.extUuid);
    os.writeInt64(4, this.pid);
    os.writeInt32(5, this.roomId);
    os.writeString(6, this.event);
    os.writeString(7, this.message);
    os.writeStruct(8, this.request);
};

HUYA.DeliverRoomMsgByUnionIdReq.prototype.readFrom = function (is)
{
    this.tId= is.readStruct(0, false, this.tId);
    this.authorization= is.readString(1, false, this.authorization);
    this.appId= is.readString(2, false, this.appId);
    this.extUuid= is.readString(3, false, this.extUuid);
    this.pid= is.readInt64(4, false, this.pid);
    this.roomId= is.readInt32(5, false, this.roomId);
    this.event= is.readString(6, false, this.event);
    this.message= is.readString(7, false, this.message);
    this.request= is.readStruct(8, false, this.request);
};

HUYA.DeliverRoomMsgByUnionIdResp = function()
{
    this.response = new ExtComm.ExtCommonResponse();
};
HUYA.DeliverRoomMsgByUnionIdResp.prototype._clone = function () { return new HUYA.DeliverRoomMsgByUnionIdResp(); }
HUYA.DeliverRoomMsgByUnionIdResp.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.DeliverRoomMsgByUnionIdResp.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.DeliverRoomMsgByUnionIdResp.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.response);
};

HUYA.DeliverRoomMsgByUnionIdResp.prototype.readFrom = function (is)
{
    this.response= is.readStruct(0, false, this.response);
};

HUYA.GetPicUploadPolicyReq = function()
{
    this.tId = new HUYA.UserId();
    this.appId = "";
    this.extUuid = "";
    this.pid = 0;
    this.roomId = 0;
    this.request = new ExtComm.ExtCommonRequest();
};
HUYA.GetPicUploadPolicyReq.prototype._clone = function () { return new HUYA.GetPicUploadPolicyReq(); }
HUYA.GetPicUploadPolicyReq.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.GetPicUploadPolicyReq.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.GetPicUploadPolicyReq.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.tId);
    os.writeString(1, this.appId);
    os.writeString(2, this.extUuid);
    os.writeInt64(3, this.pid);
    os.writeInt32(4, this.roomId);
    os.writeStruct(5, this.request);
};

HUYA.GetPicUploadPolicyReq.prototype.readFrom = function (is)
{
    this.tId= is.readStruct(0, false, this.tId);
    this.appId= is.readString(1, false, this.appId);
    this.extUuid= is.readString(2, false, this.extUuid);
    this.pid= is.readInt64(3, false, this.pid);
    this.roomId= is.readInt32(4, false, this.roomId);
    this.request= is.readStruct(5, false, this.request);
};

HUYA.GetPicUploadPolicyResp = function()
{
    this.response = new ExtComm.ExtCommonResponse();
    this.accessId = "";
    this.uploadHost = "";
    this.policy = "";
    this.signature = "";
    this.expireTime = 0;
    this.callback = "";
    this.uploadDir = "";
};
HUYA.GetPicUploadPolicyResp.prototype._clone = function () { return new HUYA.GetPicUploadPolicyResp(); }
HUYA.GetPicUploadPolicyResp.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.GetPicUploadPolicyResp.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.GetPicUploadPolicyResp.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.response);
    os.writeString(1, this.accessId);
    os.writeString(2, this.uploadHost);
    os.writeString(3, this.policy);
    os.writeString(4, this.signature);
    os.writeInt64(5, this.expireTime);
    os.writeString(6, this.callback);
    os.writeString(7, this.uploadDir);
};

HUYA.GetPicUploadPolicyResp.prototype.readFrom = function (is)
{
    this.response= is.readStruct(0, false, this.response);
    this.accessId= is.readString(1, false, this.accessId);
    this.uploadHost= is.readString(2, false, this.uploadHost);
    this.policy= is.readString(3, false, this.policy);
    this.signature= is.readString(4, false, this.signature);
    this.expireTime= is.readInt64(5, false, this.expireTime);
    this.callback= is.readString(6, false, this.callback);
    this.uploadDir= is.readString(7, false, this.uploadDir);
};

HUYA.ShowEntranceReq = function()
{
    this.tId = new HUYA.UserId();
    this.request = new ExtComm.ExtCommonRequest();
    this.appId = "";
    this.extUuid = "";
    this.pid = 0;
    this.extComponentTypeTag = new Taf.Vector(new Taf.STRING());
    this.countDown = 0;
    this.cornerMarkId = "";
};
HUYA.ShowEntranceReq.prototype._clone = function () { return new HUYA.ShowEntranceReq(); }
HUYA.ShowEntranceReq.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.ShowEntranceReq.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.ShowEntranceReq.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.tId);
    os.writeStruct(1, this.request);
    os.writeString(2, this.appId);
    os.writeString(3, this.extUuid);
    os.writeInt64(4, this.pid);
    os.writeVector(5, this.extComponentTypeTag);
    os.writeInt32(6, this.countDown);
    os.writeString(7, this.cornerMarkId);
};

HUYA.ShowEntranceReq.prototype.readFrom = function (is)
{
    this.tId= is.readStruct(0, false, this.tId);
    this.request= is.readStruct(1, false, this.request);
    this.appId= is.readString(2, false, this.appId);
    this.extUuid= is.readString(3, false, this.extUuid);
    this.pid= is.readInt64(4, false, this.pid);
    this.extComponentTypeTag= is.readVector(5, false, this.extComponentTypeTag);
    this.countDown= is.readInt32(6, false, this.countDown);
    this.cornerMarkId= is.readString(7, false, this.cornerMarkId);
};

HUYA.ShowEntranceResp = function()
{
    this.response = new ExtComm.ExtCommonResponse();
};
HUYA.ShowEntranceResp.prototype._clone = function () { return new HUYA.ShowEntranceResp(); }
HUYA.ShowEntranceResp.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.ShowEntranceResp.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.ShowEntranceResp.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.response);
};

HUYA.ShowEntranceResp.prototype.readFrom = function (is)
{
    this.response= is.readStruct(0, false, this.response);
};

HUYA.CloseEntranceReq = function()
{
    this.tId = new HUYA.UserId();
    this.request = new ExtComm.ExtCommonRequest();
    this.appId = "";
    this.extUuid = "";
    this.pid = 0;
    this.extComponentTypeTag = new Taf.Vector(new Taf.STRING());
};
HUYA.CloseEntranceReq.prototype._clone = function () { return new HUYA.CloseEntranceReq(); }
HUYA.CloseEntranceReq.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.CloseEntranceReq.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.CloseEntranceReq.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.tId);
    os.writeStruct(1, this.request);
    os.writeString(2, this.appId);
    os.writeString(3, this.extUuid);
    os.writeInt64(4, this.pid);
    os.writeVector(5, this.extComponentTypeTag);
};

HUYA.CloseEntranceReq.prototype.readFrom = function (is)
{
    this.tId= is.readStruct(0, false, this.tId);
    this.request= is.readStruct(1, false, this.request);
    this.appId= is.readString(2, false, this.appId);
    this.extUuid= is.readString(3, false, this.extUuid);
    this.pid= is.readInt64(4, false, this.pid);
    this.extComponentTypeTag= is.readVector(5, false, this.extComponentTypeTag);
};

HUYA.CloseEntranceResp = function()
{
    this.response = new ExtComm.ExtCommonResponse();
};
HUYA.CloseEntranceResp.prototype._clone = function () { return new HUYA.CloseEntranceResp(); }
HUYA.CloseEntranceResp.prototype._write = function (os, tag, value) { os.writeStruct(tag, value); }
HUYA.CloseEntranceResp.prototype._read  = function (is, tag, def) { return is.readStruct(tag, true, def); }

HUYA.CloseEntranceResp.prototype.writeTo = function (os)
{
    os.writeStruct(0, this.response);
};

HUYA.CloseEntranceResp.prototype.readFrom = function (is)
{
    this.response= is.readStruct(0, false, this.response);
};

window.HUYA = HUYA
