Пример #1
0
        public StructOfStructsOfStructsT UnPack()
        {
            var _o = new StructOfStructsOfStructsT();

            this.UnPackTo(_o);
            return(_o);
        }
Пример #2
0
        public static Offset <MyGame.Example.StructOfStructsOfStructs> Pack(FlatBufferBuilder builder, StructOfStructsOfStructsT _o)
        {
            if (_o == null)
            {
                return(default(Offset <MyGame.Example.StructOfStructsOfStructs>));
            }
            var _a_a_id       = _o.A.A.Id;
            var _a_a_distance = _o.A.A.Distance;
            var _a_b_a        = _o.A.B.A;
            var _a_b_b        = _o.A.B.B;
            var _a_c_id       = _o.A.C.Id;
            var _a_c_distance = _o.A.C.Distance;

            return(CreateStructOfStructsOfStructs(
                       builder,
                       _a_a_id,
                       _a_a_distance,
                       _a_b_a,
                       _a_b_b,
                       _a_c_id,
                       _a_c_distance));
        }
Пример #3
0
 public void UnPackTo(StructOfStructsOfStructsT _o)
 {
     _o.A = this.A.UnPack();
 }