-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #449 from ZaneDubya/shard-fix
First pass. Final pass?
- Loading branch information
Showing
10 changed files
with
310 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using UltimaXNA.Core.Network; | ||
|
||
namespace UltimaXNA.Ultima.Data | ||
{ | ||
public class MapDiffInfo | ||
{ | ||
public readonly int MapCount; | ||
public readonly int[] MapPatches; | ||
public readonly int[] StaticPatches; | ||
|
||
public MapDiffInfo(PacketReader reader) | ||
{ | ||
MapCount = reader.ReadInt32(); | ||
MapPatches = new int[MapCount]; | ||
StaticPatches = new int[MapCount]; | ||
for (int i = 0; i < MapCount; i++) | ||
{ | ||
StaticPatches[i] = reader.ReadInt32(); | ||
MapPatches[i] = reader.ReadInt32(); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.