public NSwitchPositionT UnPack() { var _o = new NSwitchPositionT(); this.UnPackTo(_o); return(_o); }
public static Offset <NymaTypes.NSwitchPosition> Pack(FlatBufferBuilder builder, NSwitchPositionT _o) { if (_o == null) { return(default(Offset <NymaTypes.NSwitchPosition>)); } var _SettingName = _o.SettingName == null ? default(StringOffset) : builder.CreateString(_o.SettingName); var _Name = _o.Name == null ? default(StringOffset) : builder.CreateString(_o.Name); var _Description = _o.Description == null ? default(StringOffset) : builder.CreateString(_o.Description); return(CreateNSwitchPosition( builder, _SettingName, _Name, _Description)); }
public void UnPackTo(NSwitchPositionT _o) { _o.SettingName = this.SettingName; _o.Name = this.Name; _o.Description = this.Description; }