public override void Read(PythonReader pr) { pr.ReadTuple(); SlotNum = pr.ReadInt(); FamilyName = pr.ReadUnicodeString(); CharacterName = pr.ReadUnicodeString(); Gender = pr.ReadInt(); Scale = pr.ReadDouble(); var itemCount = pr.ReadDictionary(); for (var i = 0; i < itemCount; i++) { var data = pr.ReadStruct <AppearanceData>(); AppearanceData.Add(data.SlotId, data); } RaceId = pr.ReadInt(); }
public void Read(PythonReader pr) { pr.ReadTuple(); Name = pr.ReadUnicodeString(); MapContextId = pr.ReadUInt(); ExpPoints = pr.ReadUInt(); ExpLevel = (byte)pr.ReadInt(); Body = pr.ReadUInt(); Mind = pr.ReadUInt(); Spirit = pr.ReadUInt(); Class = pr.ReadUInt(); CloneCredits = pr.ReadUInt(); RaceId = (Race)pr.ReadInt(); }
public override void Read(PythonReader pr) { pr.ReadTuple(); FamilyName = pr.ReadUnicodeString(); HasCharacters = pr.ReadBool(); UserId = (uint)pr.ReadInt(); var raceCount = pr.ReadTuple(); for (var i = 0; i < raceCount; ++i) { EnabledRaceList.Add((Race)pr.ReadInt()); } CanSkipBootcamp = pr.ReadBool(); }
public void Read(PythonReader pr) { pr.ReadTuple(); Id = pr.ReadUInt(); Name = pr.ReadUnicodeString(); }
public override void Read(PythonReader pr) { pr.ReadTuple(); Name = pr.ReadUnicodeString(); }
public void Read(PythonReader pr) { pr.ReadTuple(); OptionId = (UserOption)pr.ReadUInt(); Value = pr.ReadUnicodeString(); }