コード例 #1
0
ファイル: Thing.cs プロジェクト: pixelzery/Sc8ry
        public void ParseBytes(byte[] bytes)
        {
            SectionsParser mp = new SectionsParser();

            mp.Parse(bytes);

            this.nd = (ND)mp.Sections[DataType.ND];
        }
コード例 #2
0
ファイル: Item.cs プロジェクト: pixelzery/Sc8ry
        public void ParseBytes(byte[] bytes)
        {
            SectionsParser mp = new SectionsParser();

            mp.Parse(bytes);

            this._nd       = (ND)mp.Sections[DataType.ND];
            this._itemData = (ItemData)mp.Sections[DataType.ItemData];
        }
コード例 #3
0
        public void ParseBytes(byte[] bytes)
        {
            SectionsParser mp = new SectionsParser();

            mp.Parse(bytes);

            this.nd              = (ND)mp.Sections[DataType.ND];
            this.charBase        = (CharBase)mp.Sections[DataType.CharBase];
            this.personalityData = (PersonalityData)mp.Sections[DataType.PersonalityData];
            this.genderData      = (GenderData)mp.Sections[DataType.GenderData];
            this.emotionData     = (EmotionData)mp.Sections[DataType.EmotionData];
            this.statData        = (StatData)mp.Sections[DataType.StatData];
        }