コード例 #1
0
        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();
        }
コード例 #2
0
 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();
 }
コード例 #3
0
        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();
        }
コード例 #4
0
ファイル: ClanData.cs プロジェクト: vitalyo7/Rasa.NET
 public void Read(PythonReader pr)
 {
     pr.ReadTuple();
     Id   = pr.ReadUInt();
     Name = pr.ReadUnicodeString();
 }
コード例 #5
0
 public override void Read(PythonReader pr)
 {
     pr.ReadTuple();
     Name = pr.ReadUnicodeString();
 }
コード例 #6
0
 public void Read(PythonReader pr)
 {
     pr.ReadTuple();
     OptionId = (UserOption)pr.ReadUInt();
     Value    = pr.ReadUnicodeString();
 }