public MapSettingsT UnPack() { var _o = new MapSettingsT(); this.UnPackTo(_o); return(_o); }
public static Offset <N2S.FileFormat.MapSettings> Pack(FlatBufferBuilder builder, MapSettingsT _o) { if (_o == null) { return(default(Offset <N2S.FileFormat.MapSettings>)); } var _map_name = _o.MapName == null ? default(StringOffset) : builder.CreateString(_o.MapName); var _author_name = _o.AuthorName == null ? default(StringOffset) : builder.CreateString(_o.AuthorName); return(CreateMapSettings( builder, _map_name, _author_name, _o.ChunkSize)); }
public void UnPackTo(MapSettingsT _o) { _o.MapName = this.MapName; _o.AuthorName = this.AuthorName; _o.ChunkSize = this.ChunkSize; }