Remove this. everywhere, add small note to override style
This commit is contained in:
@@ -278,7 +278,7 @@ internal class SingleRow : ISelectorPart {
|
||||
public uint Row { get; }
|
||||
|
||||
public SingleRow(uint row) {
|
||||
this.Row = row;
|
||||
Row = row;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -287,8 +287,8 @@ internal class IndexRange : ISelectorPart {
|
||||
public uint End { get; }
|
||||
|
||||
public IndexRange(uint start, uint end) {
|
||||
this.Start = start;
|
||||
this.End = end;
|
||||
Start = start;
|
||||
End = end;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -299,7 +299,7 @@ internal class ColumnSpecifier : ISelectorPart {
|
||||
public uint Column { get; }
|
||||
|
||||
public ColumnSpecifier(uint column) {
|
||||
this.Column = column;
|
||||
Column = column;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -310,9 +310,9 @@ internal class AutoTranslateEntry {
|
||||
internal SeString SeString { get; }
|
||||
|
||||
public AutoTranslateEntry(uint group, uint row, string str, SeString seStr) {
|
||||
this.Group = group;
|
||||
this.Row = row;
|
||||
this.String = str;
|
||||
this.SeString = seStr;
|
||||
Group = group;
|
||||
Row = row;
|
||||
String = str;
|
||||
SeString = seStr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,18 +6,18 @@ internal class Lender<T> {
|
||||
private int _counter;
|
||||
|
||||
internal Lender(Func<T> ctor) {
|
||||
this._ctor = ctor;
|
||||
_ctor = ctor;
|
||||
}
|
||||
|
||||
internal void ResetCounter() {
|
||||
this._counter = 0;
|
||||
_counter = 0;
|
||||
}
|
||||
|
||||
internal T Borrow() {
|
||||
if (this._items.Count <= this._counter) {
|
||||
this._items.Add(this._ctor());
|
||||
if (_items.Count <= _counter) {
|
||||
_items.Add(_ctor());
|
||||
}
|
||||
|
||||
return this._items[this._counter++];
|
||||
return _items[_counter++];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ internal class PartyFinderPayload : Payload {
|
||||
internal uint Id { get; }
|
||||
|
||||
internal PartyFinderPayload(uint id) {
|
||||
this.Id = id;
|
||||
Id = id;
|
||||
}
|
||||
|
||||
protected override byte[] EncodeImpl() {
|
||||
@@ -26,7 +26,7 @@ internal class AchievementPayload : Payload {
|
||||
internal uint Id { get; }
|
||||
|
||||
internal AchievementPayload(uint id) {
|
||||
this.Id = id;
|
||||
Id = id;
|
||||
}
|
||||
|
||||
protected override byte[] EncodeImpl() {
|
||||
|
||||
Reference in New Issue
Block a user