Пример #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);
                            }
                        }
                    };
                }
            }
Пример #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);
                            }
                        }
                    };
                }
            }
Пример #3
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);
         }
     }
 }
Пример #4
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);
         }
     }
 }
Пример #5
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);
         }
     }
 }
Пример #6
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);
         }
     }
 }
Пример #7
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);
                        }
                    };
                }
            }
Пример #8
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);
                        }
                    };
                }
            }