summaryrefslogtreecommitdiff
path: root/Thronefall_v1.0/Thronefall/I2.Loc/ILocalizeTarget.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_v1.0/Thronefall/I2.Loc/ILocalizeTarget.cs')
-rw-r--r--Thronefall_v1.0/Thronefall/I2.Loc/ILocalizeTarget.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Thronefall/I2.Loc/ILocalizeTarget.cs b/Thronefall_v1.0/Thronefall/I2.Loc/ILocalizeTarget.cs
new file mode 100644
index 0000000..2d8c155
--- /dev/null
+++ b/Thronefall_v1.0/Thronefall/I2.Loc/ILocalizeTarget.cs
@@ -0,0 +1,22 @@
+using UnityEngine;
+
+namespace I2.Loc;
+
+public abstract class ILocalizeTarget : ScriptableObject
+{
+ public abstract bool IsValid(Localize cmp);
+
+ public abstract void GetFinalTerms(Localize cmp, string Main, string Secondary, out string primaryTerm, out string secondaryTerm);
+
+ public abstract void DoLocalize(Localize cmp, string mainTranslation, string secondaryTranslation);
+
+ public abstract bool CanUseSecondaryTerm();
+
+ public abstract bool AllowMainTermToBeRTL();
+
+ public abstract bool AllowSecondTermToBeRTL();
+
+ public abstract eTermType GetPrimaryTermType(Localize cmp);
+
+ public abstract eTermType GetSecondaryTermType(Localize cmp);
+}