Exemple #1
0
 void ReadBundle()
 {
     if (uibundle == null)
     {
         using (var reader =
                    new StreamReader(
                        typeof(UiContext).Assembly.GetManifestResourceStream($"LibreLancer.Interface.Default.interface.json")))
         {
             uibundle = InterfaceTextBundle.FromJSON(reader.ReadToEnd());
         }
     }
 }
Exemple #2
0
 public void SetBundle(InterfaceTextBundle tb)
 {
     uibundle = tb;
 }