public NStatusStateT UnPack() { var _o = new NStatusStateT(); this.UnPackTo(_o); return(_o); }
public static Offset <NymaTypes.NStatusState> Pack(FlatBufferBuilder builder, NStatusStateT _o) { if (_o == null) { return(default(Offset <NymaTypes.NStatusState>)); } var _ShortName = _o.ShortName == null ? default(StringOffset) : builder.CreateString(_o.ShortName); var _Name = _o.Name == null ? default(StringOffset) : builder.CreateString(_o.Name); return(CreateNStatusState( builder, _ShortName, _Name, _o.Color)); }
public void UnPackTo(NStatusStateT _o) { _o.ShortName = this.ShortName; _o.Name = this.Name; _o.Color = this.Color; }