mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Character deletes now delete the character from the DB instead of just changing the state. DB can now get single character. Character list is sent properly as per how 1.0 did it (only 1 'NEW' entry if available). Character info is now loaded from the new character packet and stored. It is also loaded for each character, encoded, and displayed (still testing).
This commit is contained in:
parent
aadca3968d
commit
b717f6aeb1
7 changed files with 402 additions and 100 deletions
|
@ -20,13 +20,7 @@ namespace FFXIVClassic_Lobby_Server
|
|||
public bool doRename;
|
||||
public uint currentZoneId;
|
||||
|
||||
public static String characterToEncoded(CharaInfo chara)
|
||||
{
|
||||
String charaInfo = System.Convert.ToBase64String(chara.toBytes());
|
||||
charaInfo.Replace("+", "-");
|
||||
charaInfo.Replace("/", "_");
|
||||
return charaInfo;
|
||||
}
|
||||
|
||||
|
||||
public static CharaInfo EncodedToCharacter(String charaInfo)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue