Class LevelRecord
Container class for a list of DecisionRecords. Basically a record of the player decisions of a single level.
Inheritance
System.Object
LevelRecord
Implements
System.Collections.Generic.IList<DecisionRecord>
System.Collections.Generic.ICollection<DecisionRecord>
System.Collections.Generic.IEnumerable<DecisionRecord>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GDA
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public class LevelRecord : IList<DecisionRecord>, ICollection<DecisionRecord>, IEnumerable<DecisionRecord>, IEnumerable
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item[Int32]
Declaration
public DecisionRecord this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
DecisionRecord |
Methods
Add(DecisionRecord)
Declaration
public void Add(DecisionRecord item)
Parameters
Type | Name | Description |
---|---|---|
DecisionRecord | item |
Clear()
Declaration
public void Clear()
Contains(DecisionRecord)
Declaration
public bool Contains(DecisionRecord item)
Parameters
Type | Name | Description |
---|---|---|
DecisionRecord | item |
Returns
Type | Description |
---|---|
System.Boolean |
CopyTo(DecisionRecord[], Int32)
Declaration
public void CopyTo(DecisionRecord[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
DecisionRecord[] | array | |
System.Int32 | arrayIndex |
GetEnumerator()
Declaration
public IEnumerator<DecisionRecord> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<DecisionRecord> |
IndexOf(DecisionRecord)
Declaration
public int IndexOf(DecisionRecord item)
Parameters
Type | Name | Description |
---|---|---|
DecisionRecord | item |
Returns
Type | Description |
---|---|
System.Int32 |
Insert(Int32, DecisionRecord)
Declaration
public void Insert(int index, DecisionRecord item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
DecisionRecord | item |
Remove(DecisionRecord)
Declaration
public bool Remove(DecisionRecord item)
Parameters
Type | Name | Description |
---|---|---|
DecisionRecord | item |
Returns
Type | Description |
---|---|
System.Boolean |
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable