Exemple #1
0
        public StructOfStructsT UnPack()
        {
            var _o = new StructOfStructsT();

            this.UnPackTo(_o);
            return(_o);
        }
Exemple #2
0
        public static Offset <MyGame.Example.StructOfStructs> Pack(FlatBufferBuilder builder, StructOfStructsT _o)
        {
            if (_o == null)
            {
                return(default(Offset <MyGame.Example.StructOfStructs>));
            }
            var _a_id       = _o.A.Id;
            var _a_distance = _o.A.Distance;
            var _b_a        = _o.B.A;
            var _b_b        = _o.B.B;
            var _c_id       = _o.C.Id;
            var _c_distance = _o.C.Distance;

            return(CreateStructOfStructs(
                       builder,
                       _a_id,
                       _a_distance,
                       _b_a,
                       _b_b,
                       _c_id,
                       _c_distance));
        }
Exemple #3
0
 public void UnPackTo(StructOfStructsT _o)
 {
     _o.A = this.A.UnPack();
     _o.B = this.B.UnPack();
     _o.C = this.C.UnPack();
 }