-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support class UFont, UMultiFont for standard (UE1, UE1, UE3).
- Loading branch information
Showing
5 changed files
with
184 additions
and
28 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using UELib.Branch; | ||
using UELib.Core; | ||
|
||
namespace UELib.Engine | ||
{ | ||
/// <summary> | ||
/// Represents the UMultiFont:Engine.MultiFont | ||
/// </summary> | ||
[UnrealRegisterClass] | ||
[BuildGeneration(BuildGeneration.UE3)] | ||
public class UMultiFont : UFont | ||
{ | ||
public UArray<float> ResolutionTestTable; | ||
|
||
protected override void Deserialize() | ||
{ | ||
base.Deserialize(); | ||
|
||
if (_Buffer.Version < (uint)PackageObjectLegacyVersion.CleanupFonts) | ||
{ | ||
_Buffer.ReadArray(out ResolutionTestTable); | ||
} | ||
} | ||
} | ||
} |