forked from technificentConsulting/TS4-SimRipper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSaveGameData2.cs
6025 lines (5624 loc) · 164 KB
/
SaveGameData2.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProtoBuf;
namespace TS4SaveGameOldVersion2
{
[ProtoContract]
public class SaveGameData
{
[ProtoMember(1)]
public uint guid;
[ProtoMember(2)]
public SaveSlotData save_slot;
[ProtoMember(3)]
public AccountData account;
[ProtoMember(4)]
public NeighborhoodData[] neighborhoods;
[ProtoMember(5)]
public HouseholdData[] households;
[ProtoMember(6)]
public SimData[] sims;
[ProtoMember(7)]
public ZoneData[] zones;
[ProtoMember(8)]
public OpenStreetsData[] streets;
[ProtoMember(9)]
public TravelGroupData[] travel_groups;
[ProtoMember(10)]
public ulong[] uninstalled_region_ids;
[ProtoMember(11)]
public ObjectFallbackDataList object_fallbacks;
[ProtoMember(12)]
public GameplayDestinationCleanUpData[] destination_clean_up_data;
[ProtoMember(14)]
public GameplayData gameplay_data;
[ProtoMember(15)]
public MannequinSimData[] mannequins;
[ProtoMember(16)]
public SimRelationshipGraphData relgraph;
[ProtoMember(17, DataFormat = DataFormat.FixedSize)]
public ulong[] tutorial_tips;
[ProtoMember(18)]
public ulong[] sims_removed_from_travel_groups;
}
[ProtoContract]
public class SaveSlotData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong slot_id;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong[] neighboorhoods;
[ProtoMember(3, DataFormat = DataFormat.FixedSize)]
public ulong last_neighborhood;
[ProtoMember(4, DataFormat = DataFormat.FixedSize)]
public ulong[] zones;
[ProtoMember(5, DataFormat = DataFormat.FixedSize)]
public ulong last_zone;
[ProtoMember(6)]
public IdList households;
[ProtoMember(7)]
public bool is_migrated;
[ProtoMember(8)]
public GameplaySaveSlotData gameplay_data;
[ProtoMember(9)]
public string slot_name;
[ProtoMember(10)]
public ulong timestamp;
[ProtoMember(11)]
public ulong active_household_id;
[ProtoMember(12, DataFormat = DataFormat.FixedSize)]
public ulong nucleus_id;
[ProtoMember(13, DataFormat = DataFormat.FixedSize)]
public ulong s4_guid_seed;
[ProtoMember(14)]
public uint compatibility_version;
[ProtoMember(15)]
public bool trigger_tutorial_drama_node;
[ProtoMember(16)]
public int tutorial_mode;
}
[ProtoContract]
public class IdList
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong[] ids;
}
[ProtoContract]
public class GameplaySaveSlotData
{
[ProtoMember(1)]
public ulong world_game_time;
[ProtoMember(2)]
public SituationSeedData travel_situation_seed;
[ProtoMember(3)]
public GameplayCameraData camera_data;
[ProtoMember(4)]
public bool is_phone_silenced;
[ProtoMember(5, DataFormat = DataFormat.FixedSize)]
public ulong career_choices_seed;
[ProtoMember(6)]
public bool enable_autogeneration_same_sex_preference;
[ProtoMember(7)]
public PersistableClubService club_service;
[ProtoMember(8)]
public PersistableDramaScheduleService drama_schedule_service;
[ProtoMember(9)]
public PersistableRelgraphService relgraph_service;
[ProtoMember(10)]
public BusinessServiceData business_service_data;
[ProtoMember(11)]
public PersistableCallToActionService call_to_action_service;
[ProtoMember(12, DataFormat = DataFormat.FixedSize)]
public ulong[] once_only_drama_nodes;
[ProtoMember(13)]
public PersistableRelationshipService relationship_service;
[ProtoMember(14)]
public PersistableAdoptionService adoption_service;
[ProtoMember(15)]
public PersistableHiddenSimService hidden_sim_service;
[ProtoMember(16)]
public PersistableSeasonService season_service;
[ProtoMember(17)]
public PersistableWeatherService weather_service;
[ProtoMember(18)]
public PersistableLotDecorationService lot_decoration_service;
[ProtoMember(19)]
public PersistableHolidayService holiday_service;
[ProtoMember(20)]
public PersistableStyleService style_service;
[ProtoMember(21)]
public PersistableTrendService trend_service;
[ProtoMember(22)]
public PersistableRabbitHoleService rabbit_hole_service;
[ProtoMember(23)]
public PersistableNarrativeService narrative_service;
[ProtoMember(24)]
public PersistableObjectLostAndFound object_lost_and_found;
[ProtoMember(25)]
public PersistableLandlordService landlord_service;
[ProtoMember(26)]
public PersistableGlobalPolicyService global_policy_service;
[ProtoMember(27)]
public PersistableRoommateService roommate_service;
[ProtoMember(28)]
public PersistableOrganizationService organization_service;
[ProtoMember(29)]
public PersistableCullingService culling_service;
[ProtoMember(30)]
public PersistableStoryProgressionService story_progression_service;
[ProtoMember(31)]
public PersistableStreetService street_service;
[ProtoMember(32)]
public PersistableRegionService region_service;
[ProtoMember(33)]
public PersistableLifestyleService lifestyle_service;
}
[ProtoContract]
public class SituationSeedData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong situation_type_id;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong situation_id;
[ProtoMember(3)]
public uint seed_purpose;
[ProtoMember(4)]
public bool invite_only;
[ProtoMember(5, DataFormat = DataFormat.FixedSize)]
public ulong host_sim_id;
[ProtoMember(6)]
public SituationAssignmentData[] assignments;
[ProtoMember(7)]
public bool user_facing;
[ProtoMember(8)]
public float duration;
[ProtoMember(9, DataFormat = DataFormat.FixedSize)]
public ulong zone_id;
[ProtoMember(10)]
public SituationJobAndRoleState[] jobs_and_role_states;
[ProtoMember(11)]
public ulong create_time;
[ProtoMember(12)]
public float score;
[ProtoMember(13)]
public SituationSimpleSeedlingData simple_data;
[ProtoMember(14)]
public SituationComplexSeedlingData complex_data;
[ProtoMember(15, DataFormat = DataFormat.FixedSize)]
public ulong filter_requesting_sim_id;
[ProtoMember(16)]
public SituationGoalTrackerData goal_tracker_data;
[ProtoMember(17)]
public ulong start_time;
[ProtoMember(18, DataFormat = DataFormat.FixedSize)]
public ulong active_household_id;
[ProtoMember(19)]
public bool scoring_enabled;
[ProtoMember(20)]
public bool main_goal_visibility;
[ProtoMember(21, DataFormat = DataFormat.FixedSize)]
public ulong linked_sim_id;
}
[ProtoContract]
public class SituationAssignmentData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong sim_id;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong job_type_id;
[ProtoMember(3)]
public uint purpose;
[ProtoMember(4, DataFormat = DataFormat.FixedSize)]
public ulong role_state_type_id;
[ProtoMember(5)]
public uint spawning_option;
[ProtoMember(6)]
public uint request_priority;
[ProtoMember(7)]
public bool expectation_preference;
[ProtoMember(8)]
public bool accept_alternate_sim;
[ProtoMember(9)]
public uint common_blacklist_categories;
[ProtoMember(10)]
public bool elevated_importance_override;
[ProtoMember(11)]
public bool reservation;
}
[ProtoContract]
public class SituationJobAndRoleState
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong job_type_id;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong role_state_type_id;
[ProtoMember(3, DataFormat = DataFormat.FixedSize)]
public ulong emotional_loot_actions_type_id;
}
[ProtoContract]
public class SituationSimpleSeedlingData
{
[ProtoMember(1)]
public uint phase_index;
[ProtoMember(2)]
public float remaining_phase_time;
}
[ProtoContract]
public class SituationComplexSeedlingData
{
[ProtoMember(1)]
public byte[] situation_custom_data;
[ProtoMember(2)]
public byte[] state_custom_data;
}
[ProtoContract]
public class SituationGoalTrackerData
{
[ProtoMember(1)]
public bool has_offered_goals;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong inherited_target_id;
[ProtoMember(3)]
public SituationGoalChainData[] chains;
[ProtoMember(4)]
public SituationGoalData[] minor_goals;
[ProtoMember(5)]
public SituationGoalData main_goal;
[ProtoMember(6)]
public CompletedSituationGoalData[] completed_goals;
[ProtoMember(7)]
public GoalTrackerType goal_tracker_type;
}
[ProtoContract]
public class SituationGoalChainData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong starting_goal_set_type_id;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong chosen_goal_set_type_id;
[ProtoMember(3, DataFormat = DataFormat.FixedSize)]
public ulong chain_id;
[ProtoMember(4)]
public int display_position;
}
[ProtoContract]
public class SituationGoalData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong goal_type_id;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong actor_id;
[ProtoMember(3)]
public uint count;
[ProtoMember(4)]
public bool completed;
[ProtoMember(5, DataFormat = DataFormat.FixedSize)]
public ulong chain_id;
[ProtoMember(6)]
public byte[] custom_data;
[ProtoMember(7)]
public bool locked;
[ProtoMember(8)]
public ulong completed_time;
[ProtoMember(9, DataFormat = DataFormat.FixedSize)]
public ulong target_id;
[ProtoMember(10, DataFormat = DataFormat.FixedSize)]
public ulong secondary_target_id;
}
[ProtoContract]
public class CompletedSituationGoalData
{
[ProtoMember(1)]
public SituationGoalData situation_goal;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong chosen_goal_set_type_id;
}
public enum GoalTrackerType
{
STANDARD_GOAL_TRACKER = 0,
DYNAMIC_GOAL_TRACKER = 1,
}
[ProtoContract]
public class GameplayCameraData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong target_id;
[ProtoMember(2)]
public Vector3 target_position;
[ProtoMember(3)]
public Vector3 camera_position;
[ProtoMember(4)]
public bool follow_mode;
[ProtoMember(5, DataFormat = DataFormat.FixedSize)]
public ulong zone_id;
[ProtoMember(6, DataFormat = DataFormat.FixedSize)]
public ulong household_id;
}
[ProtoContract]
public class Vector3
{
[ProtoMember(1)]
public float x;
[ProtoMember(2)]
public float y;
[ProtoMember(3)]
public float z;
}
[ProtoContract]
public class PersistableClubService
{
[ProtoMember(1)]
public bool has_seeded_clubs;
[ProtoMember(2)]
public uint club_count;
[ProtoMember(3)]
public Club[] clubs;
}
[ProtoContract]
public class Club
{
[ProtoMember(1)]
public ulong club_id;
[ProtoMember(2)]
public string name;
[ProtoMember(3)]
public ResourceKey icon;
[ProtoMember(4)]
public string description;
[ProtoMember(5)]
public bool invite_only;
[ProtoMember(6, DataFormat = DataFormat.FixedSize)]
public ulong leader;
[ProtoMember(7, DataFormat = DataFormat.FixedSize)]
public ulong[] members;
[ProtoMember(8)]
public ResourceKey venue_type;
[ProtoMember(9)]
public ClubCriteria[] membership_criteria;
[ProtoMember(10)]
public ClubConductRule[] club_rules;
[ProtoMember(11)]
public uint associated_color;
[ProtoMember(12)]
public ResourceKey club_seed;
[ProtoMember(13)]
public BucksData[] bucks_data;
[ProtoMember(14)]
public uint associated_style;
[ProtoMember(15)]
public MannequinSimData club_uniform_adult_male;
[ProtoMember(16)]
public MannequinSimData club_uniform_child_male;
[ProtoMember(17)]
public MannequinSimData club_uniform_adult_female;
[ProtoMember(18)]
public MannequinSimData club_uniform_child_female;
[ProtoMember(19)]
public ClubOutfitSetting outfit_setting;
[ProtoMember(20)]
public uint member_cap;
[ProtoMember(21, DataFormat = DataFormat.FixedSize)]
public ulong[] recent_members;
[ProtoMember(22)]
public ClubHangoutSetting hangout_setting;
[ProtoMember(23, DataFormat = DataFormat.FixedSize)]
public ulong hangout_zone_id;
}
[ProtoContract]
public class ResourceKey
{
[ProtoMember(1)]
public uint type;
[ProtoMember(2)]
public uint group;
[ProtoMember(3)]
public ulong instance;
}
[ProtoContract]
public class ClubCriteria
{
[ProtoMember(1)]
public ClubCriteriaCategory category;
[ProtoMember(2)]
public ClubCriteriaInfo[] criteria_infos;
[ProtoMember(3)]
public bool multi_select;
[ProtoMember(4)]
public uint criteria_id;
}
public enum ClubCriteriaCategory
{
SKILL = 0,
TRAIT = 1,
RELATIONSHIP = 2,
CAREER = 3,
HOUSEHOLD_VALUE = 4,
AGE = 5,
CLUB_MEMBERSHIP = 6,
FAME_RANK = 7,
}
[ProtoContract]
public class ClubCriteriaInfo
{
[ProtoMember(1)]
public LocalizedString name;
[ProtoMember(2)]
public ResourceKey icon;
[ProtoMember(3)]
public ResourceKey resource_value;
[ProtoMember(4)]
public uint enum_value;
[ProtoMember(5)]
public ulong resource_id;
[ProtoMember(6)]
public LocalizedString tooltip_name;
}
[ProtoContract]
public class LocalizedString
{
[ProtoMember(1)]
public uint hash;
[ProtoMember(2)]
public LocalizedStringToken[] tokens;
}
[ProtoContract]
public class LocalizedStringToken
{
[ProtoMember(1)]
public TokenType type;
[ProtoMember(2)]
public SocialRichDataType rdl_type;
[ProtoMember(3)]
public string first_name;
[ProtoMember(4)]
public string last_name;
[ProtoMember(5)]
public uint full_name_key;
[ProtoMember(6)]
public bool is_female;
[ProtoMember(7)]
public ulong sim_id;
[ProtoMember(8)]
public LocalizedString text_string;
[ProtoMember(9)]
public float number;
[ProtoMember(10)]
public ulong persona_id;
[ProtoMember(11)]
public ulong account_id;
[ProtoMember(12)]
public string persona_string;
[ProtoMember(13)]
public ulong zone_id;
[ProtoMember(14)]
public uint world_id;
[ProtoMember(15)]
public string zone_name;
[ProtoMember(16)]
public ulong event_id;
[ProtoMember(17)]
public uint event_type_hash;
[ProtoMember(18)]
public uint skill_name_hash;
[ProtoMember(19)]
public uint skill_level;
[ProtoMember(20)]
public ulong skill_guid;
[ProtoMember(21)]
public uint trait_name_hash;
[ProtoMember(22)]
public ulong trait_guid;
[ProtoMember(23)]
public uint bit_name_hash;
[ProtoMember(24)]
public ulong bit_guid;
[ProtoMember(25)]
public uint catalog_name_key;
[ProtoMember(26)]
public uint catalog_description_key;
[ProtoMember(27)]
public string custom_name;
[ProtoMember(28)]
public string custom_description;
[ProtoMember(29)]
public ulong career_uid;
[ProtoMember(30)]
public ulong memory_id;
[ProtoMember(31)]
public uint memory_string_hash;
[ProtoMember(32)]
public string raw_text;
[ProtoMember(33)]
public LocalizedDateAndTimeData date_and_time;
[ProtoMember(34)]
public SubTokenData[] sim_list;
}
public enum TokenType
{
INVALID = 0,
SIM = 1,
STRING = 2,
RAW_TEXT = 3,
NUMBER = 4,
OBJECT = 5,
DATE_AND_TIME = 6,
RICHDATA = 7,
STRING_LIST = 8,
SIM_LIST = 9,
}
public enum SocialRichDataType
{
RDL_PLAINTEXT = 0,
RDL_PERSONA = 1,
RDL_SIM = 31,
RDL_FAMILY = 32,
RDL_NEIGHBORHOOD = 101,
RDL_ZONEINSTANCE = 102,
RDL_LOT = 103,
RDL_OBJECT = 201,
RDL_CAS_PART = 202,
RDL_BLUEPRINT = 203,
RDL_MTX_CONSUMABLE = 204,
RDL_MEMORY = 205,
RDL_ACHIEVEMENT = 1001,
RDL_SKILL = 1002,
RDL_TRAIT = 1003,
RDL_WISH = 1004,
RDL_EVENT = 1005,
RDL_REL_BIT = 1006,
RDL_CAREER = 1007,
}
[ProtoContract]
public class LocalizedDateAndTimeData
{
[ProtoMember(1)]
public uint seconds;
[ProtoMember(2)]
public uint minutes;
[ProtoMember(3)]
public uint hours;
[ProtoMember(4)]
public uint date;
[ProtoMember(5)]
public uint month;
[ProtoMember(6)]
public uint full_year;
[ProtoMember(7)]
public uint date_and_time_format_hash;
}
[ProtoContract]
public class SubTokenData
{
[ProtoMember(1)]
public TokenType type;
[ProtoMember(2)]
public string first_name;
[ProtoMember(3)]
public string last_name;
[ProtoMember(4)]
public uint full_name_key;
[ProtoMember(5)]
public bool is_female;
}
[ProtoContract]
public class ClubConductRule
{
[ProtoMember(1)]
public bool encouraged;
[ProtoMember(2)]
public ResourceKey interaction_group;
[ProtoMember(3)]
public ClubCriteria with_whom;
}
[ProtoContract]
public class BucksData
{
[ProtoMember(1)]
public uint bucks_type;
[ProtoMember(2)]
public uint amount;
[ProtoMember(3)]
public UnlockedPerk[] unlocked_perks;
}
[ProtoContract]
public class UnlockedPerk
{
[ProtoMember(1)]
public uint perk;
[ProtoMember(2)]
public uint unlock_reason;
[ProtoMember(3)]
public ulong time_left;
[ProtoMember(4)]
public ulong timestamp;
[ProtoMember(5)]
public bool currently_unlocked;
}
[ProtoContract]
public class MannequinSimData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong mannequin_id;
[ProtoMember(2)]
public uint gender;
[ProtoMember(3)]
public uint age;
[ProtoMember(4)]
public uint extended_species;
[ProtoMember(11)]
public string physique;
[ProtoMember(12)]
public byte[] facial_attributes;
[ProtoMember(13)]
public ulong skin_tone;
[ProtoMember(21)]
public OutfitList outfits;
[ProtoMember(22)]
public uint current_outfit_type;
[ProtoMember(23)]
public uint current_outfit_index;
[ProtoMember(24)]
public uint previous_outfit_type;
[ProtoMember(25)]
public uint previous_outfit_index;
[ProtoMember(31, DataFormat = DataFormat.FixedSize)]
public ulong zone_id;
[ProtoMember(32)]
public uint world_id;
[ProtoMember(51)]
public AnimationStateRequest animation_pose;
}
[ProtoContract]
public class OutfitList
{
[ProtoMember(1)]
public OutfitData[] outfits;
}
[ProtoContract]
public class OutfitData
{
[ProtoMember(1)]
public ulong outfit_id;
[ProtoMember(2)]
public uint category;
[ProtoMember(5)]
public IdList parts;
[ProtoMember(6)]
public ulong created;
[ProtoMember(7)]
public BodyTypesList body_types_list;
[ProtoMember(9)]
public bool match_hair_style;
[ProtoMember(10)]
public ulong outfit_flags;
[ProtoMember(11)]
public ulong outfit_flags_high;
}
[ProtoContract]
public class BodyTypesList
{
[ProtoMember(1)]
public uint[] body_types;
}
[ProtoContract]
public class AnimationStateRequest
{
[ProtoMember(1)]
public ResourceKey asm;
[ProtoMember(2)]
public string state_name;
[ProtoMember(3)]
public string actor_name;
}
public enum ClubOutfitSetting
{
NO_OUTFIT = 0,
STYLE = 1,
COLOR = 2,
OUTFIT_OVERRIDE = 3,
}
public enum ClubHangoutSetting
{
NO_HANGOUT = 0,
VENUE = 1,
LOT = 2,
}
[ProtoContract]
public class PersistableDramaScheduleService
{
[ProtoMember(1)]
public PersistableDramaNode[] drama_nodes;
[ProtoMember(2)]
public CooldownDramaNode[] cooldown_nodes;
[ProtoMember(3)]
public PersistableDramaNode[] running_nodes;
[ProtoMember(4, DataFormat = DataFormat.FixedSize)]
public ulong[] drama_nodes_on_permanent_cooldown;
[ProtoMember(5)]
public ulong[] startup_drama_node_buckets_used;
[ProtoMember(6)]
public DramaNodeCooldownGroup[] cooldown_groups;
[ProtoMember(7)]
public ulong[] cooldown_groups_on_permanent_cooldown;
}
[ProtoContract]
public class PersistableDramaNode
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong uid;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong node_type;
[ProtoMember(3, DataFormat = DataFormat.FixedSize)]
public ulong receiver_sim_id;
[ProtoMember(4)]
public float receiver_score;
[ProtoMember(5, DataFormat = DataFormat.FixedSize)]
public ulong sender_sim_id;
[ProtoMember(6)]
public float sender_score;
[ProtoMember(7)]
public ulong selected_time;
[ProtoMember(8)]
public byte[] custom_data;
[ProtoMember(9, DataFormat = DataFormat.FixedSize)]
public ulong picked_sim_id;
[ProtoMember(10)]
public ulong club_id;
[ProtoMember(11)]
public SituationSeedData stored_situation;
}
[ProtoContract]
public class CooldownDramaNode
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong node_type;
[ProtoMember(2)]
public ulong completed_time;
}
[ProtoContract]
public class DramaNodeCooldownGroup
{
[ProtoMember(1)]
public ulong group;
[ProtoMember(2)]
public ulong completed_time;
}
[ProtoContract]
public class PersistableRelgraphService
{
[ProtoMember(1)]
public byte[] relgraph_data;
}
[ProtoContract]
public class BusinessServiceData
{
[ProtoMember(1)]
public BusinessTrackerData[] business_tracker_data;
}
[ProtoContract]
public class BusinessTrackerData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong household_id;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong business_type;
[ProtoMember(3)]
public BusinessManagerData[] business_manager_data;
[ProtoMember(4)]
public float additional_markup_multiplier;
[ProtoMember(5)]
public float additional_customer_count;
[ProtoMember(6)]
public AdditionalEmployeeSlotData[] additional_employee_slot_data;
}
[ProtoContract]
public class BusinessManagerData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong zone_id;
[ProtoMember(2)]
public BusinessSaveData business_data;
}
[ProtoContract]
public class BusinessSaveData
{
[ProtoMember(1)]
public bool is_open;
[ProtoMember(2)]
public int funds;
[ProtoMember(3)]
public float markup;
[ProtoMember(4)]
public EmployeeBusinessData employee_payroll;
[ProtoMember(5)]
public ulong open_time;
[ProtoMember(6)]
public bool grand_opening;
[ProtoMember(7)]
public BusinessFundsCategoryEntry[] funds_category_tracker_data;
[ProtoMember(8)]
public int daily_revenue;
[ProtoMember(9)]
public uint daily_items_sold;
[ProtoMember(10)]
public uint lifetime_customers_served;
[ProtoMember(11)]
public RestaurantSaveData restaurant_save_data;
[ProtoMember(12)]
public float star_rating_value;
[ProtoMember(13)]
public BusinessBuffBucketTotal[] buff_bucket_totals;
[ProtoMember(14)]
public CustomerBusinessData[] customer_data;
[ProtoMember(15)]
public uint session_customers_served;
[ProtoMember(17)]
public ulong last_off_lot_update;
[ProtoMember(18)]
public uint buff_bucket_size;
[ProtoMember(19)]
public VetClinicSaveData vet_clinic_save_data;
}
[ProtoContract]
public class EmployeeBusinessData
{
[ProtoMember(1)]
public EmployeeData[] employee_data;
[ProtoMember(2)]
public int daily_employee_wages;
[ProtoMember(3)]
public BusinessUniformData[] employee_uniforms_male;
[ProtoMember(4)]
public BusinessUniformData[] employee_uniforms_female;
[ProtoMember(5)]
public BusinessDataPayroll[] employee_payroll;
}
[ProtoContract]
public class EmployeeData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong employee_type;
[ProtoMember(2, DataFormat = DataFormat.FixedSize)]
public ulong employee_id;
}
[ProtoContract]
public class BusinessUniformData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong employee_type;
[ProtoMember(2)]
public MannequinSimData employee_uniform_data;
}
[ProtoContract]
public class BusinessDataPayroll
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong sim_id;
[ProtoMember(2)]
public ulong clock_in_time;
[ProtoMember(3)]
public BusinessDataPayrollEntry[] payroll_data;
}
[ProtoContract]
public class BusinessDataPayrollEntry
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong career_level_guid;
[ProtoMember(2)]
public float hours_worked;
}
[ProtoContract]
public class BusinessFundsCategoryEntry
{
[ProtoMember(1)]
public uint funds_category;
[ProtoMember(2)]
public int amount;
}
[ProtoContract]
public class RestaurantSaveData
{
[ProtoMember(1)]
public uint ingredient_quality_enum;
[ProtoMember(2)]
public uint[] profit_per_meal_queue;
[ProtoMember(3)]
public uint dining_spot_count;
[ProtoMember(4)]
public uint advertising_type;
}
[ProtoContract]
public class BusinessBuffBucketTotal
{
[ProtoMember(1)]
public uint buff_bucket;
[ProtoMember(2)]
public float buff_bucket_total;
}
[ProtoContract]
public class CustomerBusinessData
{
[ProtoMember(1, DataFormat = DataFormat.FixedSize)]
public ulong customer_id;