示例#1
0
            public override void Read(ICsvReader reader)
            {
                base.Read(reader);

                this.Unknown26C = reader.GetShort();
                if (this.Version < 22 && this.Unknown26C > 6)
                {
                    this.Unknown26C = 6;
                }

                this.Unknown26E = (this.Version >= 22) ? reader.GetShort() : (short)0;
                this.Unknown270 = (this.Version >= 46) ? reader.GetShort() : (short)0;
                this.Unknown272 = reader.GetShort();
                this.Unknown274 = reader.GetShort();
                this.Unknown260 = reader.GetInt();
                this.Unknown268 = (this.Version >= 57) ? reader.GetInt() : 0;
                this.Unknown264 = (this.Version >= 57) ? reader.GetInt() : 0;

                if (this.Version >= 33)
                {
                    this.Unknown278.ReadV3(reader);
                }
                else if (this.Version >= 17)
                {
                    this.Unknown278.ReadV2(reader);
                }
                else
                {
                    this.Unknown278.ReadV1(reader);
                }

                this.Unknown2B4 = reader.GetInstance <BlobSound>();
            }
示例#2
0
            public override void Read(ICsvReader reader)
            {
                base.Read(reader);
                this.Unknown274 = reader.GetShort();

                if (this.Version >= 36)
                {
                    this.Unknown268 = reader.GetInt();
                    this.Unknown26C = reader.GetInt();
                }
                else
                {
                    int dummy = reader.GetInt();
                    if (dummy >= 0)
                    {
                        this.Unknown268 = 0;
                        this.Unknown26C = dummy;
                    }
                    else
                    {
                        this.Unknown268 = -dummy;
                        this.Unknown26C = 0;
                    }
                }

                this.Unknown270 = (this.Version >= 36) ? reader.GetShort() : (short)0;
                this.Unknown260 = reader.GetInt();
                this.Unknown264 = reader.GetInt();
                this.Unknown272 = (this.Version >= 30) ? reader.GetShort() : (short)0;

                if (this.Version >= 33)
                {
                    this.Unknown278.ReadV3(reader);
                }
                else if (this.Version >= 17)
                {
                    this.Unknown278.ReadV2(reader);
                }
                else
                {
                    this.Unknown278.ReadV1(reader);
                }

                this.Unknown2B4 = reader.GetInstance <BlobSound>();

                if (this.Version < 3)
                {
                    this.Unknown278.FixBlobId();
                    this.Unknown2B4.FixBlobId();
                }
            }
示例#3
0
 public Warp() : base()
 {
     this.Unknown278 = new BlobSprite();
     this.Unknown2B4 = new BlobSound();
 }