コード例 #1
0
ファイル: Serialize.cs プロジェクト: code-rover/Phial.Fantasy
 public PlayerInfoSkill Read(BinaryReader br)
 {
     if (br.ReadByte() == (byte)SerializeObjectMark.Common)
     {
         {
             var count0   = br.ReadInt32();
             var listVal0 = new List <UInt32>(count0);
             if (count0 > 0)
             {
                 for (int i0 = 0; i0 < count0; i0++)
                 {
                     var item0 = default(UInt32);
                     item0 = br.ReadUInt32();
                     listVal0.Add(item0);
                 }
             }
             SkillList = listVal0;
         }
     }
     if (br.ReadByte() == (byte)SerializeObjectMark.Common)
     {
         Test = (new TestBaseClass()).Read(br);
     }
     return(this);
 }
コード例 #2
0
        public async Task<TestBaseClass> TestHierarchy(TestBaseClass b, TestDerived1Class d1, TestDerived11Class d11)
        {
            Console.WriteLine(b);
            Console.WriteLine(d1);
            Console.WriteLine(d11);



            return null;
        }
コード例 #3
0
 public Task<TestBaseClass> TestHierarch2y(TestBaseClass b, TestDerived1Class d1, TestDerived11Class d11)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
 public PlayerInfoSkill Read(BinaryReader br)
 {
     if (br.ReadByte() == (byte)SerializeObjectMark.Common)
     {
         {
             var count0 = br.ReadInt32();
             var listVal0 = new List<UInt32>(count0);
             if (count0 > 0)
             {
                 for (int i0 = 0; i0 < count0; i0++)
                 {
                     var item0 = default(UInt32);
                     item0 = br.ReadUInt32();
                     listVal0.Add(item0);
                 }
             }
             SkillList = listVal0;
         }
     }
     if (br.ReadByte() == (byte)SerializeObjectMark.Common)
     {
         Test = (new TestBaseClass()).Read(br);
     }
     return this;
 }