-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathR.generated.swift
More file actions
2644 lines (2243 loc) · 131 KB
/
R.generated.swift
File metadata and controls
2644 lines (2243 loc) · 131 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//
// This is a generated file, do not edit!
// Generated by R.swift, see https://github.com/mac-cain13/R.swift
//
import Foundation
import Rswift
import UIKit
/// This `R` struct is generated and contains references to static resources.
struct R: Rswift.Validatable {
fileprivate static let applicationLocale = hostingBundle.preferredLocalizations.first.flatMap { Locale(identifier: $0) } ?? Locale.current
fileprivate static let hostingBundle = Bundle(for: R.Class.self)
/// Find first language and bundle for which the table exists
fileprivate static func localeBundle(tableName: String, preferredLanguages: [String]) -> (Foundation.Locale, Foundation.Bundle)? {
// Filter preferredLanguages to localizations, use first locale
var languages = preferredLanguages
.map { Locale(identifier: $0) }
.prefix(1)
.flatMap { locale -> [String] in
if hostingBundle.localizations.contains(locale.identifier) {
if let language = locale.languageCode, hostingBundle.localizations.contains(language) {
return [locale.identifier, language]
} else {
return [locale.identifier]
}
} else if let language = locale.languageCode, hostingBundle.localizations.contains(language) {
return [language]
} else {
return []
}
}
// If there's no languages, use development language as backstop
if languages.isEmpty {
if let developmentLocalization = hostingBundle.developmentLocalization {
languages = [developmentLocalization]
}
} else {
// Insert Base as second item (between locale identifier and languageCode)
languages.insert("Base", at: 1)
// Add development language as backstop
if let developmentLocalization = hostingBundle.developmentLocalization {
languages.append(developmentLocalization)
}
}
// Find first language for which table exists
// Note: key might not exist in chosen language (in that case, key will be shown)
for language in languages {
if let lproj = hostingBundle.url(forResource: language, withExtension: "lproj"),
let lbundle = Bundle(url: lproj)
{
let strings = lbundle.url(forResource: tableName, withExtension: "strings")
let stringsdict = lbundle.url(forResource: tableName, withExtension: "stringsdict")
if strings != nil || stringsdict != nil {
return (Locale(identifier: language), lbundle)
}
}
}
// If table is available in main bundle, don't look for localized resources
let strings = hostingBundle.url(forResource: tableName, withExtension: "strings", subdirectory: nil, localization: nil)
let stringsdict = hostingBundle.url(forResource: tableName, withExtension: "stringsdict", subdirectory: nil, localization: nil)
if strings != nil || stringsdict != nil {
return (applicationLocale, hostingBundle)
}
// If table is not found for requested languages, key will be shown
return nil
}
/// Load string from Info.plist file
fileprivate static func infoPlistString(path: [String], key: String) -> String? {
var dict = hostingBundle.infoDictionary
for step in path {
guard let obj = dict?[step] as? [String: Any] else { return nil }
dict = obj
}
return dict?[key] as? String
}
static func validate() throws {
try font.validate()
try intern.validate()
}
#if os(iOS) || os(tvOS)
/// This `R.segue` struct is generated, and contains static references to 3 view controllers.
struct segue {
/// This struct is generated for `LoginController`, and contains static references to 1 segues.
struct loginController {
/// Segue identifier `segue.selectCharacterToPlay`.
static let segueSelectCharacterToPlay: Rswift.StoryboardSegueIdentifier<UIKit.UIStoryboardSegue, LoginController, SelectCharToPlayController> = Rswift.StoryboardSegueIdentifier(identifier: "segue.selectCharacterToPlay")
#if os(iOS) || os(tvOS)
/// Optionally returns a typed version of segue `segue.selectCharacterToPlay`.
/// Returns nil if either the segue identifier, the source, destination, or segue types don't match.
/// For use inside `prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)`.
static func segueSelectCharacterToPlay(segue: UIKit.UIStoryboardSegue) -> Rswift.TypedStoryboardSegueInfo<UIKit.UIStoryboardSegue, LoginController, SelectCharToPlayController>? {
return Rswift.TypedStoryboardSegueInfo(segueIdentifier: R.segue.loginController.segueSelectCharacterToPlay, segue: segue)
}
#endif
fileprivate init() {}
}
/// This struct is generated for `MainLoggerController`, and contains static references to 1 segues.
struct mainLoggerController {
/// Segue identifier `segue.statusBarStats`.
static let segueStatusBarStats: Rswift.StoryboardSegueIdentifier<UIKit.UIStoryboardSegue, MainLoggerController, CharacterStatsController> = Rswift.StoryboardSegueIdentifier(identifier: "segue.statusBarStats")
#if os(iOS) || os(tvOS)
/// Optionally returns a typed version of segue `segue.statusBarStats`.
/// Returns nil if either the segue identifier, the source, destination, or segue types don't match.
/// For use inside `prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)`.
static func segueStatusBarStats(segue: UIKit.UIStoryboardSegue) -> Rswift.TypedStoryboardSegueInfo<UIKit.UIStoryboardSegue, MainLoggerController, CharacterStatsController>? {
return Rswift.TypedStoryboardSegueInfo(segueIdentifier: R.segue.mainLoggerController.segueStatusBarStats, segue: segue)
}
#endif
fileprivate init() {}
}
/// This struct is generated for `SelectCharToPlayController`, and contains static references to 2 segues.
struct selectCharToPlayController {
/// Segue identifier `createChar`.
static let createChar: Rswift.StoryboardSegueIdentifier<UIKit.UIStoryboardSegue, SelectCharToPlayController, CreateCharController> = Rswift.StoryboardSegueIdentifier(identifier: "createChar")
/// Segue identifier `goToLoggerTB`.
static let goToLoggerTB: Rswift.StoryboardSegueIdentifier<UIKit.UIStoryboardSegue, SelectCharToPlayController, LoggerTabBarController> = Rswift.StoryboardSegueIdentifier(identifier: "goToLoggerTB")
#if os(iOS) || os(tvOS)
/// Optionally returns a typed version of segue `createChar`.
/// Returns nil if either the segue identifier, the source, destination, or segue types don't match.
/// For use inside `prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)`.
static func createChar(segue: UIKit.UIStoryboardSegue) -> Rswift.TypedStoryboardSegueInfo<UIKit.UIStoryboardSegue, SelectCharToPlayController, CreateCharController>? {
return Rswift.TypedStoryboardSegueInfo(segueIdentifier: R.segue.selectCharToPlayController.createChar, segue: segue)
}
#endif
#if os(iOS) || os(tvOS)
/// Optionally returns a typed version of segue `goToLoggerTB`.
/// Returns nil if either the segue identifier, the source, destination, or segue types don't match.
/// For use inside `prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)`.
static func goToLoggerTB(segue: UIKit.UIStoryboardSegue) -> Rswift.TypedStoryboardSegueInfo<UIKit.UIStoryboardSegue, SelectCharToPlayController, LoggerTabBarController>? {
return Rswift.TypedStoryboardSegueInfo(segueIdentifier: R.segue.selectCharToPlayController.goToLoggerTB, segue: segue)
}
#endif
fileprivate init() {}
}
fileprivate init() {}
}
#endif
#if os(iOS) || os(tvOS)
/// This `R.storyboard` struct is generated, and contains static references to 7 storyboards.
struct storyboard {
/// Storyboard `CreateChar`.
static let createChar = _R.storyboard.createChar()
/// Storyboard `Inventory`.
static let inventory = _R.storyboard.inventory()
/// Storyboard `LaunchScreen`.
static let launchScreen = _R.storyboard.launchScreen()
/// Storyboard `LoggerTabBar`.
static let loggerTabBar = _R.storyboard.loggerTabBar()
/// Storyboard `Login`.
static let login = _R.storyboard.login()
/// Storyboard `MainLogger`.
static let mainLogger = _R.storyboard.mainLogger()
/// Storyboard `SelectCharToPlay`.
static let selectCharToPlay = _R.storyboard.selectCharToPlay()
#if os(iOS) || os(tvOS)
/// `UIStoryboard(name: "CreateChar", bundle: ...)`
static func createChar(_: Void = ()) -> UIKit.UIStoryboard {
return UIKit.UIStoryboard(resource: R.storyboard.createChar)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIStoryboard(name: "Inventory", bundle: ...)`
static func inventory(_: Void = ()) -> UIKit.UIStoryboard {
return UIKit.UIStoryboard(resource: R.storyboard.inventory)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIStoryboard(name: "LaunchScreen", bundle: ...)`
static func launchScreen(_: Void = ()) -> UIKit.UIStoryboard {
return UIKit.UIStoryboard(resource: R.storyboard.launchScreen)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIStoryboard(name: "LoggerTabBar", bundle: ...)`
static func loggerTabBar(_: Void = ()) -> UIKit.UIStoryboard {
return UIKit.UIStoryboard(resource: R.storyboard.loggerTabBar)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIStoryboard(name: "Login", bundle: ...)`
static func login(_: Void = ()) -> UIKit.UIStoryboard {
return UIKit.UIStoryboard(resource: R.storyboard.login)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIStoryboard(name: "MainLogger", bundle: ...)`
static func mainLogger(_: Void = ()) -> UIKit.UIStoryboard {
return UIKit.UIStoryboard(resource: R.storyboard.mainLogger)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIStoryboard(name: "SelectCharToPlay", bundle: ...)`
static func selectCharToPlay(_: Void = ()) -> UIKit.UIStoryboard {
return UIKit.UIStoryboard(resource: R.storyboard.selectCharToPlay)
}
#endif
fileprivate init() {}
}
#endif
/// This `R.color` struct is generated, and contains static references to 14 colors.
struct color {
/// Color `AccentColor`.
static let accentColor = Rswift.ColorResource(bundle: R.hostingBundle, name: "AccentColor")
/// Color `Blue`.
static let blue = Rswift.ColorResource(bundle: R.hostingBundle, name: "Blue")
/// Color `Brown`.
static let brown = Rswift.ColorResource(bundle: R.hostingBundle, name: "Brown")
/// Color `Creame`.
static let creame = Rswift.ColorResource(bundle: R.hostingBundle, name: "Creame")
/// Color `DarkBrown`.
static let darkBrown = Rswift.ColorResource(bundle: R.hostingBundle, name: "DarkBrown")
/// Color `GrayText`.
static let grayText = Rswift.ColorResource(bundle: R.hostingBundle, name: "GrayText")
/// Color `Green`.
static let green = Rswift.ColorResource(bundle: R.hostingBundle, name: "Green")
/// Color `Red`.
static let red = Rswift.ColorResource(bundle: R.hostingBundle, name: "Red")
/// Color `Yellow`.
static let yellow = Rswift.ColorResource(bundle: R.hostingBundle, name: "Yellow")
/// Color `charBG`.
static let charBG = Rswift.ColorResource(bundle: R.hostingBundle, name: "charBG")
/// Color `charHero1BG`.
static let charHero1BG = Rswift.ColorResource(bundle: R.hostingBundle, name: "charHero1BG")
/// Color `charHero2BG`.
static let charHero2BG = Rswift.ColorResource(bundle: R.hostingBundle, name: "charHero2BG")
/// Color `charPKBG`.
static let charPKBG = Rswift.ColorResource(bundle: R.hostingBundle, name: "charPKBG")
/// Color `charPVPBG`.
static let charPVPBG = Rswift.ColorResource(bundle: R.hostingBundle, name: "charPVPBG")
#if os(iOS) || os(tvOS)
/// `UIColor(named: "AccentColor", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func accentColor(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.accentColor, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "Blue", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func blue(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.blue, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "Brown", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func brown(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.brown, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "Creame", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func creame(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.creame, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "DarkBrown", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func darkBrown(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.darkBrown, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "GrayText", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func grayText(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.grayText, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "Green", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func green(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.green, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "Red", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func red(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.red, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "Yellow", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func yellow(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.yellow, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "charBG", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func charBG(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.charBG, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "charHero1BG", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func charHero1BG(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.charHero1BG, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "charHero2BG", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func charHero2BG(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.charHero2BG, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "charPKBG", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func charPKBG(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.charPKBG, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIColor(named: "charPVPBG", bundle: ..., traitCollection: ...)`
@available(tvOS 11.0, *)
@available(iOS 11.0, *)
static func charPVPBG(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIColor? {
return UIKit.UIColor(resource: R.color.charPVPBG, compatibleWith: traitCollection)
}
#endif
#if os(watchOS)
/// `UIColor(named: "AccentColor", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func accentColor(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.accentColor.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "Blue", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func blue(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.blue.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "Brown", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func brown(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.brown.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "Creame", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func creame(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.creame.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "DarkBrown", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func darkBrown(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.darkBrown.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "GrayText", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func grayText(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.grayText.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "Green", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func green(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.green.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "Red", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func red(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.red.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "Yellow", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func yellow(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.yellow.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "charBG", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func charBG(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.charBG.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "charHero1BG", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func charHero1BG(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.charHero1BG.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "charHero2BG", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func charHero2BG(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.charHero2BG.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "charPKBG", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func charPKBG(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.charPKBG.name)
}
#endif
#if os(watchOS)
/// `UIColor(named: "charPVPBG", bundle: ..., traitCollection: ...)`
@available(watchOSApplicationExtension 4.0, *)
static func charPVPBG(_: Void = ()) -> UIKit.UIColor? {
return UIKit.UIColor(named: R.color.charPVPBG.name)
}
#endif
fileprivate init() {}
}
/// This `R.file` struct is generated, and contains static references to 10 files.
struct file {
/// Resource file `AlegreyaSC-Black.ttf`.
static let alegreyaSCBlackTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-Black", pathExtension: "ttf")
/// Resource file `AlegreyaSC-BlackItalic.ttf`.
static let alegreyaSCBlackItalicTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-BlackItalic", pathExtension: "ttf")
/// Resource file `AlegreyaSC-Bold.ttf`.
static let alegreyaSCBoldTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-Bold", pathExtension: "ttf")
/// Resource file `AlegreyaSC-BoldItalic.ttf`.
static let alegreyaSCBoldItalicTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-BoldItalic", pathExtension: "ttf")
/// Resource file `AlegreyaSC-ExtraBold.ttf`.
static let alegreyaSCExtraBoldTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-ExtraBold", pathExtension: "ttf")
/// Resource file `AlegreyaSC-ExtraBoldItalic.ttf`.
static let alegreyaSCExtraBoldItalicTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-ExtraBoldItalic", pathExtension: "ttf")
/// Resource file `AlegreyaSC-Italic.ttf`.
static let alegreyaSCItalicTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-Italic", pathExtension: "ttf")
/// Resource file `AlegreyaSC-Medium.ttf`.
static let alegreyaSCMediumTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-Medium", pathExtension: "ttf")
/// Resource file `AlegreyaSC-MediumItalic.ttf`.
static let alegreyaSCMediumItalicTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-MediumItalic", pathExtension: "ttf")
/// Resource file `AlegreyaSC-Regular.ttf`.
static let alegreyaSCRegularTtf = Rswift.FileResource(bundle: R.hostingBundle, name: "AlegreyaSC-Regular", pathExtension: "ttf")
/// `bundle.url(forResource: "AlegreyaSC-Black", withExtension: "ttf")`
static func alegreyaSCBlackTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCBlackTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-BlackItalic", withExtension: "ttf")`
static func alegreyaSCBlackItalicTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCBlackItalicTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-Bold", withExtension: "ttf")`
static func alegreyaSCBoldTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCBoldTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-BoldItalic", withExtension: "ttf")`
static func alegreyaSCBoldItalicTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCBoldItalicTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-ExtraBold", withExtension: "ttf")`
static func alegreyaSCExtraBoldTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCExtraBoldTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-ExtraBoldItalic", withExtension: "ttf")`
static func alegreyaSCExtraBoldItalicTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCExtraBoldItalicTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-Italic", withExtension: "ttf")`
static func alegreyaSCItalicTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCItalicTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-Medium", withExtension: "ttf")`
static func alegreyaSCMediumTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCMediumTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-MediumItalic", withExtension: "ttf")`
static func alegreyaSCMediumItalicTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCMediumItalicTtf
return fileResource.bundle.url(forResource: fileResource)
}
/// `bundle.url(forResource: "AlegreyaSC-Regular", withExtension: "ttf")`
static func alegreyaSCRegularTtf(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.alegreyaSCRegularTtf
return fileResource.bundle.url(forResource: fileResource)
}
fileprivate init() {}
}
/// This `R.font` struct is generated, and contains static references to 10 fonts.
struct font: Rswift.Validatable {
/// Font `AlegreyaSC-BlackItalic`.
static let alegreyaSCBlackItalic = Rswift.FontResource(fontName: "AlegreyaSC-BlackItalic")
/// Font `AlegreyaSC-Black`.
static let alegreyaSCBlack = Rswift.FontResource(fontName: "AlegreyaSC-Black")
/// Font `AlegreyaSC-BoldItalic`.
static let alegreyaSCBoldItalic = Rswift.FontResource(fontName: "AlegreyaSC-BoldItalic")
/// Font `AlegreyaSC-Bold`.
static let alegreyaSCBold = Rswift.FontResource(fontName: "AlegreyaSC-Bold")
/// Font `AlegreyaSC-ExtraBoldItalic`.
static let alegreyaSCExtraBoldItalic = Rswift.FontResource(fontName: "AlegreyaSC-ExtraBoldItalic")
/// Font `AlegreyaSC-ExtraBold`.
static let alegreyaSCExtraBold = Rswift.FontResource(fontName: "AlegreyaSC-ExtraBold")
/// Font `AlegreyaSC-Italic`.
static let alegreyaSCItalic = Rswift.FontResource(fontName: "AlegreyaSC-Italic")
/// Font `AlegreyaSC-MediumItalic`.
static let alegreyaSCMediumItalic = Rswift.FontResource(fontName: "AlegreyaSC-MediumItalic")
/// Font `AlegreyaSC-Medium`.
static let alegreyaSCMedium = Rswift.FontResource(fontName: "AlegreyaSC-Medium")
/// Font `AlegreyaSC-Regular`.
static let alegreyaSCRegular = Rswift.FontResource(fontName: "AlegreyaSC-Regular")
/// `UIFont(name: "AlegreyaSC-Black", size: ...)`
static func alegreyaSCBlack(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCBlack, size: size)
}
/// `UIFont(name: "AlegreyaSC-BlackItalic", size: ...)`
static func alegreyaSCBlackItalic(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCBlackItalic, size: size)
}
/// `UIFont(name: "AlegreyaSC-Bold", size: ...)`
static func alegreyaSCBold(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCBold, size: size)
}
/// `UIFont(name: "AlegreyaSC-BoldItalic", size: ...)`
static func alegreyaSCBoldItalic(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCBoldItalic, size: size)
}
/// `UIFont(name: "AlegreyaSC-ExtraBold", size: ...)`
static func alegreyaSCExtraBold(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCExtraBold, size: size)
}
/// `UIFont(name: "AlegreyaSC-ExtraBoldItalic", size: ...)`
static func alegreyaSCExtraBoldItalic(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCExtraBoldItalic, size: size)
}
/// `UIFont(name: "AlegreyaSC-Italic", size: ...)`
static func alegreyaSCItalic(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCItalic, size: size)
}
/// `UIFont(name: "AlegreyaSC-Medium", size: ...)`
static func alegreyaSCMedium(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCMedium, size: size)
}
/// `UIFont(name: "AlegreyaSC-MediumItalic", size: ...)`
static func alegreyaSCMediumItalic(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCMediumItalic, size: size)
}
/// `UIFont(name: "AlegreyaSC-Regular", size: ...)`
static func alegreyaSCRegular(size: CGFloat) -> UIKit.UIFont? {
return UIKit.UIFont(resource: alegreyaSCRegular, size: size)
}
static func validate() throws {
if R.font.alegreyaSCBlack(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-Black' could not be loaded, is 'AlegreyaSC-Black.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCBlackItalic(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-BlackItalic' could not be loaded, is 'AlegreyaSC-BlackItalic.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCBold(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-Bold' could not be loaded, is 'AlegreyaSC-Bold.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCBoldItalic(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-BoldItalic' could not be loaded, is 'AlegreyaSC-BoldItalic.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCExtraBold(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-ExtraBold' could not be loaded, is 'AlegreyaSC-ExtraBold.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCExtraBoldItalic(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-ExtraBoldItalic' could not be loaded, is 'AlegreyaSC-ExtraBoldItalic.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCItalic(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-Italic' could not be loaded, is 'AlegreyaSC-Italic.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCMedium(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-Medium' could not be loaded, is 'AlegreyaSC-Medium.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCMediumItalic(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-MediumItalic' could not be loaded, is 'AlegreyaSC-MediumItalic.ttf' added to the UIAppFonts array in this targets Info.plist?") }
if R.font.alegreyaSCRegular(size: 42) == nil { throw Rswift.ValidationError(description:"[R.swift] Font 'AlegreyaSC-Regular' could not be loaded, is 'AlegreyaSC-Regular.ttf' added to the UIAppFonts array in this targets Info.plist?") }
}
fileprivate init() {}
}
/// This `R.id` struct is generated, and contains static references to accessibility identifiers.
struct id {
struct createChar {
/// Accessibility identifier `ARCHER`.
static let archeR: String = "ARCHER"
/// Accessibility identifier `ASSASSIN`.
static let assassiN: String = "ASSASSIN"
/// Accessibility identifier `WARRIOR`.
static let warrioR: String = "WARRIOR"
/// Accessibility identifier `WIZARD`.
static let wizarD: String = "WIZARD"
fileprivate init() {}
}
struct inventory {
/// Accessibility identifier `AMULET`.
static let amuleT: String = "AMULET"
/// Accessibility identifier `BELT`.
static let belT: String = "BELT"
/// Accessibility identifier `BODY`.
static let bodY: String = "BODY"
/// Accessibility identifier `BOOTS`.
static let bootS: String = "BOOTS"
/// Accessibility identifier `GLOVES`.
static let gloveS: String = "GLOVES"
/// Accessibility identifier `HEAD`.
static let heaD: String = "HEAD"
/// Accessibility identifier `LEFT_ARM`.
static let left_ARM: String = "LEFT_ARM"
/// Accessibility identifier `LEFT_EARRING`.
static let left_EARRING: String = "LEFT_EARRING"
/// Accessibility identifier `LEFT_RING`.
static let left_RING: String = "LEFT_RING"
/// Accessibility identifier `RIGHT_ARM`.
static let right_ARM: String = "RIGHT_ARM"
/// Accessibility identifier `RIGHT_EARRING`.
static let right_EARRING: String = "RIGHT_EARRING"
/// Accessibility identifier `RIGHT_RING`.
static let right_RING: String = "RIGHT_RING"
/// Accessibility identifier `cloack`.
static let cloack: String = "cloack"
fileprivate init() {}
}
fileprivate init() {}
}
/// This `R.image` struct is generated, and contains static references to 44 images.
struct image {
/// Image `AppImage`.
static let appImage = Rswift.ImageResource(bundle: R.hostingBundle, name: "AppImage")
/// Image `AppName`.
static let appName = Rswift.ImageResource(bundle: R.hostingBundle, name: "AppName")
/// Image `Button`.
static let button = Rswift.ImageResource(bundle: R.hostingBundle, name: "Button")
/// Image `archerImage`.
static let archerImage = Rswift.ImageResource(bundle: R.hostingBundle, name: "archerImage")
/// Image `assassinImage`.
static let assassinImage = Rswift.ImageResource(bundle: R.hostingBundle, name: "assassinImage")
/// Image `backgroundFrame`.
static let backgroundFrame = Rswift.ImageResource(bundle: R.hostingBundle, name: "backgroundFrame")
/// Image `barHP`.
static let barHP = Rswift.ImageResource(bundle: R.hostingBundle, name: "barHP")
/// Image `barMP`.
static let barMP = Rswift.ImageResource(bundle: R.hostingBundle, name: "barMP")
/// Image `beltInventoryPlaceholder`.
static let beltInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "beltInventoryPlaceholder")
/// Image `bootsInventoryPlaceholder`.
static let bootsInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "bootsInventoryPlaceholder")
/// Image `buttonFrame`.
static let buttonFrame = Rswift.ImageResource(bundle: R.hostingBundle, name: "buttonFrame")
/// Image `buttonLightBrown`.
static let buttonLightBrown = Rswift.ImageResource(bundle: R.hostingBundle, name: "buttonLightBrown")
/// Image `checkboxOff`.
static let checkboxOff = Rswift.ImageResource(bundle: R.hostingBundle, name: "checkboxOff")
/// Image `checkboxOn`.
static let checkboxOn = Rswift.ImageResource(bundle: R.hostingBundle, name: "checkboxOn")
/// Image `cloackInventoryPlaceholder`.
static let cloackInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "cloackInventoryPlaceholder")
/// Image `closeButtonRed`.
static let closeButtonRed = Rswift.ImageResource(bundle: R.hostingBundle, name: "closeButtonRed")
/// Image `earingInventoryPlaceholder`.
static let earingInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "earingInventoryPlaceholder")
/// Image `gloveInventoryPlaceholder`.
static let gloveInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "gloveInventoryPlaceholder")
/// Image `gold`.
static let gold = Rswift.ImageResource(bundle: R.hostingBundle, name: "gold")
/// Image `hatInventoryPlaceholder`.
static let hatInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "hatInventoryPlaceholder")
/// Image `hpInventoryPlaceholder`.
static let hpInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "hpInventoryPlaceholder")
/// Image `icArcherBow`.
static let icArcherBow = Rswift.ImageResource(bundle: R.hostingBundle, name: "icArcherBow")
/// Image `icAssasignShuriken`.
static let icAssasignShuriken = Rswift.ImageResource(bundle: R.hostingBundle, name: "icAssasignShuriken")
/// Image `icAtack`.
static let icAtack = Rswift.ImageResource(bundle: R.hostingBundle, name: "icAtack")
/// Image `icButtonMove`.
static let icButtonMove = Rswift.ImageResource(bundle: R.hostingBundle, name: "icButtonMove")
/// Image `icFacebook`.
static let icFacebook = Rswift.ImageResource(bundle: R.hostingBundle, name: "icFacebook")
/// Image `icGoogle`.
static let icGoogle = Rswift.ImageResource(bundle: R.hostingBundle, name: "icGoogle")
/// Image `icInventoryTabBarItem`.
static let icInventoryTabBarItem = Rswift.ImageResource(bundle: R.hostingBundle, name: "icInventoryTabBarItem")
/// Image `icLogsTabBarItem`.
static let icLogsTabBarItem = Rswift.ImageResource(bundle: R.hostingBundle, name: "icLogsTabBarItem")
/// Image `icMageStuff`.
static let icMageStuff = Rswift.ImageResource(bundle: R.hostingBundle, name: "icMageStuff")
/// Image `icMap`.
static let icMap = Rswift.ImageResource(bundle: R.hostingBundle, name: "icMap")
/// Image `icVK`.
static let icVK = Rswift.ImageResource(bundle: R.hostingBundle, name: "icVK")
/// Image `icWarSword`.
static let icWarSword = Rswift.ImageResource(bundle: R.hostingBundle, name: "icWarSword")
/// Image `inventoryCellPlaceholder`.
static let inventoryCellPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "inventoryCellPlaceholder")
/// Image `mageImage`.
static let mageImage = Rswift.ImageResource(bundle: R.hostingBundle, name: "mageImage")
/// Image `mobGrayRat`.
static let mobGrayRat = Rswift.ImageResource(bundle: R.hostingBundle, name: "mobGrayRat")
/// Image `mpInventoryPlaceholder`.
static let mpInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "mpInventoryPlaceholder")
/// Image `neckleInventoryPlaceholder`.
static let neckleInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "neckleInventoryPlaceholder")
/// Image `notSelectableCellFrame`.
static let notSelectableCellFrame = Rswift.ImageResource(bundle: R.hostingBundle, name: "notSelectableCellFrame")
/// Image `ringInventoryPlaceholder`.
static let ringInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "ringInventoryPlaceholder")
/// Image `shieldInventoryPlaceholder`.
static let shieldInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "shieldInventoryPlaceholder")
/// Image `swordInventoryPlaceholder`.
static let swordInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "swordInventoryPlaceholder")
/// Image `topInventoryPlaceholder`.
static let topInventoryPlaceholder = Rswift.ImageResource(bundle: R.hostingBundle, name: "topInventoryPlaceholder")
/// Image `warriorImage`.
static let warriorImage = Rswift.ImageResource(bundle: R.hostingBundle, name: "warriorImage")
#if os(iOS) || os(tvOS)
/// `UIImage(named: "AppImage", bundle: ..., traitCollection: ...)`
static func appImage(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.appImage, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "AppName", bundle: ..., traitCollection: ...)`
static func appName(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.appName, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "Button", bundle: ..., traitCollection: ...)`
static func button(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.button, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "archerImage", bundle: ..., traitCollection: ...)`
static func archerImage(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.archerImage, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "assassinImage", bundle: ..., traitCollection: ...)`
static func assassinImage(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.assassinImage, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "backgroundFrame", bundle: ..., traitCollection: ...)`
static func backgroundFrame(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.backgroundFrame, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "barHP", bundle: ..., traitCollection: ...)`
static func barHP(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.barHP, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "barMP", bundle: ..., traitCollection: ...)`
static func barMP(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.barMP, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "beltInventoryPlaceholder", bundle: ..., traitCollection: ...)`
static func beltInventoryPlaceholder(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.beltInventoryPlaceholder, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "bootsInventoryPlaceholder", bundle: ..., traitCollection: ...)`
static func bootsInventoryPlaceholder(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.bootsInventoryPlaceholder, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "buttonFrame", bundle: ..., traitCollection: ...)`
static func buttonFrame(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.buttonFrame, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "buttonLightBrown", bundle: ..., traitCollection: ...)`
static func buttonLightBrown(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.buttonLightBrown, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "checkboxOff", bundle: ..., traitCollection: ...)`
static func checkboxOff(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.checkboxOff, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "checkboxOn", bundle: ..., traitCollection: ...)`
static func checkboxOn(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.checkboxOn, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "cloackInventoryPlaceholder", bundle: ..., traitCollection: ...)`
static func cloackInventoryPlaceholder(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.cloackInventoryPlaceholder, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "closeButtonRed", bundle: ..., traitCollection: ...)`
static func closeButtonRed(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.closeButtonRed, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "earingInventoryPlaceholder", bundle: ..., traitCollection: ...)`
static func earingInventoryPlaceholder(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.earingInventoryPlaceholder, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "gloveInventoryPlaceholder", bundle: ..., traitCollection: ...)`
static func gloveInventoryPlaceholder(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.gloveInventoryPlaceholder, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "gold", bundle: ..., traitCollection: ...)`
static func gold(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.gold, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "hatInventoryPlaceholder", bundle: ..., traitCollection: ...)`
static func hatInventoryPlaceholder(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.hatInventoryPlaceholder, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "hpInventoryPlaceholder", bundle: ..., traitCollection: ...)`
static func hpInventoryPlaceholder(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.hpInventoryPlaceholder, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "icArcherBow", bundle: ..., traitCollection: ...)`
static func icArcherBow(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.icArcherBow, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "icAssasignShuriken", bundle: ..., traitCollection: ...)`
static func icAssasignShuriken(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.icAssasignShuriken, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "icAtack", bundle: ..., traitCollection: ...)`
static func icAtack(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.icAtack, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "icButtonMove", bundle: ..., traitCollection: ...)`
static func icButtonMove(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.icButtonMove, compatibleWith: traitCollection)
}
#endif
#if os(iOS) || os(tvOS)
/// `UIImage(named: "icFacebook", bundle: ..., traitCollection: ...)`
static func icFacebook(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.icFacebook, compatibleWith: traitCollection)
}
#endif