コード例 #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();
     GenderClassId = (EntityClass)pr.ReadUInt();
     Scale         = pr.ReadDouble();
 }
コード例 #3
0
 public override void Read(PythonReader pr)
 {
     pr.ReadTuple();
     FromUi = pr.ReadDouble();
 }
コード例 #4
0
 public override void Read(PythonReader pr)
 {
     pr.ReadTuple();
     Ping = pr.ReadDouble();
 }