C# Class NNbt.NbtMerge

ファイルを表示 Open project: jaquadro/NNBT

Public Methods

Method Description
Diff ( TagCompound first, TagCompound second ) : CompoundDiff
IdDiff ( TagList a, TagList b ) : CompoundDiff
Merge ( TagCompound parent, TagCompound left, TagCompound right ) : TagCompound
MergeDetailed ( TagCompound parent, TagCompound left, TagCompound right, CompoundDiff &leftDiff, CompoundDiff &rightDiff, CompoundDiff &mergedDiff ) : TagCompound
PositionDiff ( TagList a, TagList b ) : ListDiff

Private Methods

Method Description
AreIdArrays ( TagList a, TagList b ) : bool
DiffValue ( Tag first, Tag second ) : DiffOperation

Method Details

Diff() public static method

public static Diff ( TagCompound first, TagCompound second ) : CompoundDiff
first TagCompound
second TagCompound
return CompoundDiff

IdDiff() public static method

public static IdDiff ( TagList a, TagList b ) : CompoundDiff
a TagList
b TagList
return CompoundDiff

Merge() public static method

public static Merge ( TagCompound parent, TagCompound left, TagCompound right ) : TagCompound
parent TagCompound
left TagCompound
right TagCompound
return TagCompound

MergeDetailed() public static method

public static MergeDetailed ( TagCompound parent, TagCompound left, TagCompound right, CompoundDiff &leftDiff, CompoundDiff &rightDiff, CompoundDiff &mergedDiff ) : TagCompound
parent TagCompound
left TagCompound
right TagCompound
leftDiff CompoundDiff
rightDiff CompoundDiff
mergedDiff CompoundDiff
return TagCompound

PositionDiff() public static method

public static PositionDiff ( TagList a, TagList b ) : ListDiff
a TagList
b TagList
return ListDiff