Ejemplo n.º 1
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                container.Container[]             d    = ((P0)owner).Data;
                SetType <container.SomethingElse> type = (SetType <container.SomethingElse>) this.type.cast <container.SomethingElse, System.Object>();

                for (; i != h; i++)
                {
                    System.Collections.Generic.HashSet <container.SomethingElse> x = d[i].someSet;
                    int size = null == x ? 0 : x.Count;
                    if (0 == size)
                    {
                        @out.i8((sbyte)0);
                    }
                    else
                    {
                        @out.v64(size);
                        foreach (container.SomethingElse e in x)
                        {
                            container.SomethingElse v = e;
                            if (null == v)
                            {
                                @out.i8((sbyte)0);
                            }
                            else
                            {
                                @out.v64(v.SkillID);
                            }
                        }
                    };
                }
            }
Ejemplo n.º 2
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                graph.Node[]         d    = ((P0)owner).Data;
                SetType <graph.Node> type = (SetType <graph.Node>) this.type.cast <graph.Node, System.Object>();

                for (; i != h; i++)
                {
                    System.Collections.Generic.HashSet <graph.Node> x = d[i].edges;
                    int size = null == x ? 0 : x.Count;
                    if (0 == size)
                    {
                        @out.i8((sbyte)0);
                    }
                    else
                    {
                        @out.v64(size);
                        foreach (graph.Node e in x)
                        {
                            graph.Node v = e;
                            if (null == v)
                            {
                                @out.i8((sbyte)0);
                            }
                            else
                            {
                                @out.v64(v.SkillID);
                            }
                        }
                    };
                }
            }
Ejemplo n.º 3
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     restrictionsCore.Properties[] d = ((P0)owner.basePool).Data;
     for (; i != h; i++)
     {
         @out.f32(((restrictionsCore.ZSystem)d[i]).version);
     }
 }
Ejemplo n.º 4
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     floats.FloatTest[] d = ((P1)owner).Data;
     for (; i != h; i++)
     {
         @out.f32(d[i].zero);
     }
 }
Ejemplo n.º 5
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     floats.DoubleTest[] d = ((P0)owner).Data;
     for (; i != h; i++)
     {
         @out.f64(d[i].two);
     }
 }
Ejemplo n.º 6
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     annotation.Date[] d = ((P0)owner).Data;
     for (; i != h; i++)
     {
         @out.v64(d[i].date);
     }
 }
Ejemplo n.º 7
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     age.Age[] d = ((P0)owner).Data;
     for (; i != h; i++)
     {
         @out.v64(d[i].age);
     }
 }
Ejemplo n.º 8
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     number.Number[] d = ((P0)owner).Data;
     for (; i != h; i++)
     {
         @out.i64(d[i].number);
     }
 }
Ejemplo n.º 9
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     escaping.ZBoolean[] d = ((P0)owner).Data;
     for (; i != h; i++)
     {
         @out.@bool(d[i].boolean);
     }
 }
Ejemplo n.º 10
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                unicode.Unicode[] d = ((P0)owner).Data;
                StringType        t = (StringType)this.type;

                for (; i != h; i++)
                {
                    t.writeSingleField(d[i].two, @out);
                }
            }
Ejemplo n.º 11
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                annotation.Test[] d = ((P1)owner).Data;
                Annotation        t = (Annotation)this.type;

                for (; i != h; i++)
                {
                    t.writeSingleField(d[i].f, @out);
                }
            }
Ejemplo n.º 12
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                escaping.Z2200[] d = ((P3)owner).Data;
                StringType       t = (StringType)this.type;

                for (; i != h; i++)
                {
                    t.writeSingleField(d[i].Z2622, @out);
                }
            }
Ejemplo n.º 13
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                restrictionsCore.Properties[] d = ((P0)owner.basePool).Data;
                StringType t = (StringType)this.type;

                for (; i != h; i++)
                {
                    t.writeSingleField(((restrictionsCore.ZSystem)d[i]).name, @out);
                }
            }
Ejemplo n.º 14
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                container.Container[] d = ((P0)owner).Data;
                MapType <System.String, System.Collections.Generic.Dictionary <System.Int64, System.Int64> > type = (MapType <System.String, System.Collections.Generic.Dictionary <System.Int64, System.Int64> >) this.type.cast <System.String, System.Collections.Generic.Dictionary <System.Int64, System.Int64> >();

                de.ust.skill.common.csharp.api.FieldType keyType   = type.keyType;
                de.ust.skill.common.csharp.api.FieldType valueType = type.valueType;
                for (; i != h; i++)
                {
                    (([email protected]) this.type).writeSingleField(d[i].f, @out);
                }
            }
Ejemplo n.º 15
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     escaping.Int[] d = ((P2)owner).Data;
     for (; i != h; i++)
     {
         escaping.Int v = d[i].Zif;
         if (null == v)
         {
             @out.i8((sbyte)0);
         }
         else
         {
             @out.v64(v.SkillID);
         }
     }
 }
Ejemplo n.º 16
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                container.Container[] d = ((P0)owner).Data;
                ConstantLengthArray <System.Int64> type = (ConstantLengthArray <System.Int64>) this.type.cast <System.Int64, System.Object>();
                int size = type.length;

                for (; i != h; i++)
                {
                    System.Collections.ArrayList x = d[i].arr;
                    foreach (long e in x)
                    {
                        @out.v64(e);
                    }
                    ;
                }
            }
Ejemplo n.º 17
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     unknown.A[] d = ((P0)owner).Data;
     for (; i != h; i++)
     {
         unknown.A v = d[i].a;
         if (null == v)
         {
             @out.i8((sbyte)0);
         }
         else
         {
             @out.v64(v.SkillID);
         }
     }
 }
Ejemplo n.º 18
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     enums.TestEnum[] d = ((P0)owner).Data;
     for (; i != h; i++)
     {
         enums.TestEnum v = d[i].next;
         if (null == v)
         {
             @out.i8((sbyte)0);
         }
         else
         {
             @out.v64(v.SkillID);
         }
     }
 }
Ejemplo n.º 19
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
     subtypes.A[] d = ((P0)owner.basePool).Data;
     for (; i != h; i++)
     {
         subtypes.C v = ((subtypes.C)d[i]).c;
         if (null == v)
         {
             @out.i8((sbyte)0);
         }
         else
         {
             @out.v64(v.SkillID);
         }
     }
 }
Ejemplo n.º 20
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                container.Container[] d = ((P0)owner).Data;
                VariableLengthArray <System.Int64> type = (VariableLengthArray <System.Int64>) this.type.cast <System.Int64, System.Object>();

                for (; i != h; i++)
                {
                    System.Collections.ArrayList x = d[i].varr;
                    int size = null == x ? 0 : x.Count;
                    if (0 == size)
                    {
                        @out.i8((sbyte)0);
                    }
                    else
                    {
                        @out.v64(size);
                        foreach (long e in x)
                        {
                            @out.v64(e);
                        }
                    };
                }
            }
Ejemplo n.º 21
0
            public override void wsc(int i, int h, MappedOutStream @out)
            {
                container.Container[]  d    = ((P0)owner).Data;
                SetType <System.Int64> type = (SetType <System.Int64>) this.type.cast <System.Int64, System.Object>();

                for (; i != h; i++)
                {
                    System.Collections.Generic.HashSet <System.Int64> x = d[i].s;
                    int size = null == x ? 0 : x.Count;
                    if (0 == size)
                    {
                        @out.i8((sbyte)0);
                    }
                    else
                    {
                        @out.v64(size);
                        foreach (long e in x)
                        {
                            @out.v64(e);
                        }
                    };
                }
            }
Ejemplo n.º 22
0
 public override void wsc(int i, int h, MappedOutStream @out)
 {
 }