public static Offset <Request_GenerateCredential> CreateRequest_GenerateCredential(FlatBufferBuilder builder, int session_id = 0, int account_uid = 0) { builder.StartObject(2); Request_GenerateCredential.AddAccountUid(builder, account_uid); Request_GenerateCredential.AddSessionId(builder, session_id); return(Request_GenerateCredential.EndRequest_GenerateCredential(builder)); }
public static Request_GenerateCredential GetRootAsRequest_GenerateCredential(ByteBuffer _bb, Request_GenerateCredential obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }