public static Offset <Reply_VerifyCredential> CreateReply_VerifyCredential(FlatBufferBuilder builder, ErrorCode error_code = ErrorCode.OK, int session_id = 0, StringOffset credentialOffset = default(StringOffset), int account_uid = 0) { builder.StartObject(4); Reply_VerifyCredential.AddAccountUid(builder, account_uid); Reply_VerifyCredential.AddCredential(builder, credentialOffset); Reply_VerifyCredential.AddSessionId(builder, session_id); Reply_VerifyCredential.AddErrorCode(builder, error_code); return(Reply_VerifyCredential.EndReply_VerifyCredential(builder)); }
public static Reply_VerifyCredential GetRootAsReply_VerifyCredential(ByteBuffer _bb, Reply_VerifyCredential obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }