|
|
@@ -14,6 +14,7 @@ namespace GamecraftModdingAPI.Utility |
|
|
|
/// Tracks the API version the current game was built for. |
|
|
|
/// For compatibility reasons, this must be enabled before it will work. |
|
|
|
/// </summary> |
|
|
|
[Obsolete] |
|
|
|
public static class VersionTracking |
|
|
|
{ |
|
|
|
private static readonly VersionTrackingEngine versionEngine = new VersionTrackingEngine(); |
|
|
@@ -58,6 +59,7 @@ namespace GamecraftModdingAPI.Utility |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
[Obsolete] |
|
|
|
internal class VersionTrackingEngine : IEventEmitterEngine |
|
|
|
{ |
|
|
|
public string Name { get; } = "GamecraftModdingAPIVersionTrackingGameEngine"; |
|
|
@@ -94,11 +96,13 @@ namespace GamecraftModdingAPI.Utility |
|
|
|
public void Emit() { } |
|
|
|
} |
|
|
|
|
|
|
|
[Obsolete] |
|
|
|
public struct ModVersionStruct : IEntityComponent |
|
|
|
{ |
|
|
|
public uint version; |
|
|
|
} |
|
|
|
|
|
|
|
[Obsolete] |
|
|
|
public class ModVersionDescriptor: SerializableEntityDescriptor<ModVersionDescriptor._ModVersionDescriptor> |
|
|
|
{ |
|
|
|
[HashName("GamecraftModdingAPIVersionV0")] |
|
|
|