public static Offset <ButtplugFFI.ConnectLocal> CreateConnectLocal(FlatBufferBuilder builder, StringOffset server_nameOffset = default(StringOffset), uint max_ping_time = 0, ushort comm_manager_types = 0) { builder.StartTable(3); ConnectLocal.AddMaxPingTime(builder, max_ping_time); ConnectLocal.AddServerName(builder, server_nameOffset); ConnectLocal.AddCommManagerTypes(builder, comm_manager_types); return(ConnectLocal.EndConnectLocal(builder)); }
public static ConnectLocal GetRootAsConnectLocal(ByteBuffer _bb, ConnectLocal obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }