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

            this.UnPackTo(_o);
            return(_o);
        }
Пример #2
0
 public static Offset <MyGame.Example.TestSimpleTableWithEnum> Pack(FlatBufferBuilder builder, TestSimpleTableWithEnumT _o)
 {
     if (_o == null)
     {
         return(default(Offset <MyGame.Example.TestSimpleTableWithEnum>));
     }
     return(CreateTestSimpleTableWithEnum(
                builder,
                _o.Color));
 }
Пример #3
0
 public void UnPackTo(TestSimpleTableWithEnumT _o)
 {
     _o.Color = this.Color;
 }