File tree Expand file tree Collapse file tree 4 files changed +28
-10
lines changed
Expand file tree Collapse file tree 4 files changed +28
-10
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ struct GUILDCARD {
117117 uint64 createdOn; // Timestamp
118118 byte unk1;
119119 uint hunterRank;
120- uint playTimeSec ;
120+ uint masterRank ;
121121 uint64 lastUpdated;
122122 uint zero1;
123123
@@ -163,8 +163,8 @@ struct SAVEDATA_SAVESLOT {
163163 int masterRank;
164164 int zeni;
165165 int researchPoints;
166- int hunterXp ;
167- int unk2;
166+ int hunterRankXp ;
167+ int masterRankXp; // Probably?
168168 int timePlayedSec;
169169
170170 CHARACTER_APPEARANCE characterAppearance;
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >netstandard2.0</TargetFramework >
5- <Version >0.12 .0</Version >
5+ <Version >0.13 .0</Version >
66 <Authors >Fusion86</Authors >
77 <LangVersion >8.0</LangVersion >
88 </PropertyGroup >
Original file line number Diff line number Diff line change 1- using Cirilla . Core . Crypto ;
1+ using Cirilla . Core . Crypto ;
22using Cirilla . Core . Crypto . BlowFishCS ;
33using Cirilla . Core . Enums ;
44using Cirilla . Core . Exceptions ;
@@ -241,6 +241,18 @@ public int HunterRank
241241 }
242242 }
243243
244+ public int MasterRank
245+ {
246+ get => Native . MasterRank ;
247+ set
248+ {
249+ if ( value > 999 )
250+ throw new Exception ( "MasterRank can't be higher than 999!" ) ;
251+
252+ Native . MasterRank = value ;
253+ }
254+ }
255+
244256 public int Zenny
245257 {
246258 get => Native . Zeni ;
@@ -259,6 +271,12 @@ public int HunterXp
259271 set => Native . HunterXp = value ;
260272 }
261273
274+ public int MasterXp
275+ {
276+ get => Native . MasterXp ;
277+ set => Native . MasterXp = value ;
278+ }
279+
262280 public int PlayTime
263281 {
264282 get => Native . PlayTime ;
Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ public struct SaveData_SaveSlot
3737 public byte [ ] HunterName ;
3838
3939 public int HunterRank ;
40- private int Zero1 ;
40+ public int MasterRank ;
4141 public int Zeni ;
4242 public int ResearchPoints ;
4343 public int HunterXp ;
44- private int Zero2 ;
44+ public int MasterXp ;
4545 public int PlayTime ; // In seconds
4646
4747 public CharacterAppearance CharacterAppearance ;
@@ -81,8 +81,8 @@ public struct SaveData_GuildCard
8181 public long SteamId ;
8282 public long Created ; // Timestamp
8383 private byte Unk1 ;
84- public uint HunterRank ;
85- public uint PlayTime ; // Seconds
84+ public int HunterRank ;
85+ public int MasterRank ;
8686 public long LastUpdate ; // Timestamp
8787 private uint Zero1 ;
8888
@@ -95,7 +95,7 @@ public struct SaveData_GuildCard
9595 [ MarshalAs ( UnmanagedType . ByValArray , SizeConst = 16 , ArraySubType = UnmanagedType . U1 ) ]
9696 private byte [ ] Unk2 ;
9797
98- public CharacterAppearance Appearance ;
98+ public CharacterAppearance CharacterAppearance ;
9999
100100 [ MarshalAs ( UnmanagedType . ByValArray , SizeConst = 212 , ArraySubType = UnmanagedType . U1 ) ]
101101 private byte [ ] Unk3 ;
You can’t perform that action at this time.
0 commit comments