Example #1
0
        public bool Load(ref CDynMemoryReader r, ref CUberData data)
        {
            string s;
            uint   n = 0;

            s = r.ReadPascalStr();
            if (s == "")
            {
                return(false);
            }
            Name = s;

            if (!r.Get(ref BoneIndex))
            {
                return(false);
            }

            return(true);
        }
Example #2
0
        public bool Load(ref CDynMemoryReader r, ref CUberData data)
        {
            string s;

            s = r.ReadPascalStr();
            if (s == "")
            {
                return(false);
            }
            Name = s;

            if (!r.Get(ref Parent))
            {
                return(false);
            }
            if (!Transform.Load(ref r, ref data))
            {
                return(false);
            }

            return(true);
        }