Skip to content

Commit

Permalink
Fix #6: Slots collection shows Parent and Raw properties
Browse files Browse the repository at this point in the history
  • Loading branch information
int19h committed Nov 16, 2018
1 parent 89ba1c5 commit 5cd5b33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion WarBender/Slots.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Globalization;
using System.Linq;
using WarBender.Modules;

namespace WarBender {
public class Slots : LengthPrefixedCollection<long>, IList, IEnumerable<object> {
[Browsable(false)]
public new IRecord Parent => (IRecord)((IDataObject)this).Parent;

public LengthPrefixedCollection<long> Raw => this;
private LengthPrefixedCollection<long> Raw => this;

private IReadOnlyList<SlotDefinition> _slotDefinitions;

Expand Down

0 comments on commit 5cd5b33

Please sign in to comment.