chore: Use var everywhere (#2294)

This commit is contained in:
Kamron Batman 2025-12-27 16:47:28 -08:00 • committed by GitHub
parent 0b34cc4417
commit ebaf104935
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
267 changed files with 873 additions and 873 deletions

View file

@ -43,7 +43,7 @@ public readonly ref struct NetStateGumps
return false;
}
for (int i = 0; i < _gumps.Count; i++)
for (var i = 0; i < _gumps.Count; i++)
{
if (_gumps[i] is T tGump)
{
@ -65,7 +65,7 @@ public readonly ref struct NetStateGumps
return null;
}
for (int i = 0; i < _gumps.Count; i++)
for (var i = 0; i < _gumps.Count; i++)
{
if (_gumps[i] is T tGump)
{
@ -87,9 +87,9 @@ public readonly ref struct NetStateGumps
if (singleton || gump.Singleton)
{
for (int i = 0; i < _gumps.Count; i++)
for (var i = 0; i < _gumps.Count; i++)
{
BaseGump old = _gumps[i];
var old = _gumps[i];
if (old.TypeID == gump.TypeID)
{