Ejemplo n.º 1
0
        public override void OnPopulate()
        {
            Unk17Entry *addr = First;

            for (int i = 0; i < Count; i++)
            {
                new MoveDefUnk17EntryNode().Initialize(this, addr++, 28);
            }
        }
Ejemplo n.º 2
0
        public override void OnRebuild(VoidPtr address, int length, bool force)
        {
            _entryOffset = address;
            Unk17Entry *data = (Unk17Entry *)address;

            foreach (MoveDefUnk17EntryNode e in Children)
            {
                e.Rebuild(data++, 0x1C, true);
            }
        }
Ejemplo n.º 3
0
        protected internal override void OnRebuild(VoidPtr address, int length, bool force)
        {
            _entryOffset = address;
            Unk17Entry *data = (Unk17Entry *)address;

            data->_boneIndex  = boneIndex;
            data->_unkVec1._x = f1;
            data->_unkVec1._y = f2;
            data->_unkVec1._z = f3;
            data->_unkVec2._x = f4;
            data->_unkVec2._y = f5;
            data->_unkVec2._z = f6;
        }