Ejemplo n.º 1
0
        public StatT UnPack()
        {
            var _o = new StatT();

            this.UnPackTo(_o);
            return(_o);
        }
Ejemplo n.º 2
0
        public static Offset <MyGame.Example.Stat> Pack(FlatBufferBuilder builder, StatT _o)
        {
            if (_o == null)
            {
                return(default(Offset <MyGame.Example.Stat>));
            }
            var _id = _o.Id == null ? default(StringOffset) : builder.CreateString(_o.Id);

            return(CreateStat(
                       builder,
                       _id,
                       _o.Val,
                       _o.Count));
        }
Ejemplo n.º 3
0
 public void UnPackTo(StatT _o)
 {
     _o.Id    = this.Id;
     _o.Val   = this.Val;
     _o.Count = this.Count;
 }