Exemplo n.º 1
0
        protected override bool OnInitialize()
        {
            base.OnInitialize();

            _rbnk = RSARNode.Files[FileIndex] as RBNKNode;

            return(false);
        }
Exemplo n.º 2
0
        public override bool OnInitialize()
        {
            base.OnInitialize();

            _fileId = Header->_fileId;

            if (_fileId >= 0 && _fileId < RSARNode.Files.Count)
            {
                _rbnk = RSARNode.Files[_fileId] as RBNKNode;
            }
            if (_rbnk != null)
            {
                _rbnk.AddBankRef(this);
            }

            return(false);
        }
        public override bool OnInitialize()
        {
            base.OnInitialize();

            _fileId = Header->_fileId;

            if (_fileId >= 0 && _fileId < RSARNode.Files.Count)
            {
                _rbnk = RSARNode.Files[_fileId];
                if (_rbnk is RSARExtFileNode)
                {
                    RSARExtFileNode ext = _rbnk as RSARExtFileNode;
                    ext.AddBankRef(this);
                }
                else if (_rbnk is RBNKNode)
                {
                    RBNKNode ext = _rbnk as RBNKNode;
                    ext.AddBankRef(this);
                }
            }

            return(false);
        }
        public override bool OnInitialize()
        {
            base.OnInitialize();

            _fileId = Header->_fileId;

            if (_fileId >= 0 && _fileId < RSARNode.Files.Count)
                _rbnk = RSARNode.Files[_fileId] as RBNKNode;
            if (_rbnk != null)
                _rbnk.AddBankRef(this);

            return false;
        }