Exemple #1
0
                public UInt32 level_up_end_time;             //升级时间

                public void FromBin(NetSocket.ByteArray bin)
                {
                    byte temp;

                    bin.Get_(out temp);
                    main_type = (twp.app.build.BuildsType)temp;
                    bin.Get_(out temp);
                    sub_type = (twp.app.build.SubType)temp;
                    bin.Get_(out build_idx);
                    bin.Get_(out row);
                    bin.Get_(out col);
                    bin.Get_(out level);
                    bin.Get_(out gather_time);
                    bin.Get_(out level_up_end_time);
                }
Exemple #2
0
                public new void FromBin(NetSocket.ByteArray bin)
                {
                    base.FromBin (bin);

                    byte temp;
                    bin.Get_ (out temp);
                    type = (twp.app.build.BuildOperationEvent)temp;

                    bin.Get_ (out temp);
                    e_result = (ResultType)temp;

                    bin.Get_ (out area_idx);
                    bin.Get_ (out city_idx);

                    bin.Get_ (out temp);
                    build_type = (twp.app.build.BuildsType)temp;

                    innerUnion.FromBin (bin, build_type);
                }
Exemple #3
0
                public void FromBin(NetSocket.ByteArray bin)
                {
                    bin.Get_ (out build_idx);

                    byte tempType;
                    bin.Get_ (out tempType);
                    main_type = (twp.app.build.BuildsType)tempType;

                    bin.Get_ (out tempType);
                    sub_type = (twp.app.build.SubType)tempType;

                    bin.Get_ (out level);
                    bin.Get_ (out row);
                    bin.Get_ (out col);
                }