mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Folder rename: FFXIVClassic_Lobby_Server to FFXIV Classic Lobby Server.
This commit is contained in:
		
							
								
								
									
										48
									
								
								FFXIVClassic Lobby Server/dataobjects/Character.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								FFXIVClassic Lobby Server/dataobjects/Character.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using FFXIVClassic_Lobby_Server.common; | ||||
| using FFXIVClassic_Lobby_Server.dataobjects; | ||||
|  | ||||
| namespace FFXIVClassic_Lobby_Server | ||||
| { | ||||
|     class Character | ||||
|     { | ||||
|         public uint id; | ||||
|         public ushort slot; | ||||
|         public ushort serverId; | ||||
|         public string name; | ||||
|         public ushort state; | ||||
|         public string charaInfo; | ||||
|         public bool isLegacy; | ||||
|         public bool doRename; | ||||
|         public uint currentZoneId; | ||||
|  | ||||
|         public byte guardian; | ||||
|         public byte birthMonth; | ||||
|         public byte birthDay; | ||||
|         public uint currentClass = 3; | ||||
|         public uint currentJob = 0; | ||||
|         public byte initialTown; | ||||
|         public byte tribe; | ||||
|  | ||||
|         public uint currentLevel = 1; | ||||
|  | ||||
|         public static CharaInfo EncodedToCharacter(String charaInfo) | ||||
|         { | ||||
|             charaInfo.Replace("+", "-"); | ||||
|             charaInfo.Replace("/", "_"); | ||||
|             byte[] data = System.Convert.FromBase64String(charaInfo); | ||||
|  | ||||
|             Console.WriteLine("------------Base64 printout------------------"); | ||||
|             Console.WriteLine(Utils.ByteArrayToHex(data)); | ||||
|             Console.WriteLine("------------Base64 printout------------------"); | ||||
|  | ||||
|             CharaInfo chara = new CharaInfo(); | ||||
|  | ||||
|             return chara; | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user