public static Offset <CreateAccountMessage> CreateCreateAccountMessage(FlatBufferBuilder builder, StringOffset usernameOffset = default(StringOffset), StringOffset emailOffset = default(StringOffset), StringOffset passwordOffset = default(StringOffset)) { builder.StartObject(3); CreateAccountMessage.AddPassword(builder, passwordOffset); CreateAccountMessage.AddEmail(builder, emailOffset); CreateAccountMessage.AddUsername(builder, usernameOffset); return(CreateAccountMessage.EndCreateAccountMessage(builder)); }
public static CreateAccountMessage GetRootAsCreateAccountMessage(ByteBuffer _bb, CreateAccountMessage obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }