|
OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
|
MANUAL_TODO. More...
#include <StoredProc.h>
Public Member Functions | |
| UpdateUserData (std::shared_ptr< nanodbc::connection > conn) | |
| std::weak_ptr< nanodbc::result > | execute (const char *id, const uint8_t Nation, const uint8_t Race, const int16_t Class, const uint8_t HairColor, const uint8_t Rank, const uint8_t Title, const uint8_t Level, const int32_t Exp, const int32_t Loyalty, const uint8_t Face, const uint8_t City, const int16_t Knights, const uint8_t Fame, const int16_t Hp, const int16_t Mp, const int16_t Sp, const uint8_t Str, const uint8_t Sta, const uint8_t Dex, const uint8_t Intel, const uint8_t Cha, const uint8_t Authority, const uint8_t Points, const int32_t Gold, const uint8_t Zone, const int16_t Bind, const int32_t PX, const int32_t PZ, const int32_t PY, const int32_t dwTime, const int16_t QuestTotal, const std::vector< uint8_t > &strSkill, const std::vector< uint8_t > &strItem, const std::vector< uint8_t > &strSerial, const std::vector< uint8_t > &strQuest, const int32_t MannerPoint, const int32_t LoyaltyMonthly) noexcept(false) |
| Executes the stored procedure. | |
Public Member Functions inherited from storedProc::detail::StoredProcedure | |
| void | set_connection (const std::shared_ptr< nanodbc::connection > &conn) |
| Sets the associated database connection. | |
| void | flush () |
| Flushes any output variables or return values by reading any and all result sets. | |
Static Public Member Functions | |
| static const std::string & | Query () |
| Returns the query associated with preparing this statement. | |
| static modelUtil::DbType | DbType () |
| Returns the associated database type for the table. | |
Additional Inherited Members | |
Protected Member Functions inherited from storedProc::detail::StoredProcedure | |
| StoredProcedure (std::shared_ptr< nanodbc::connection > conn) | |
| void | prepare (const std::string &query) noexcept(false) |
| Opens and prepares the statement with the associated query. | |
| void | flush_on_destruct () |
| Flushes any output variables or return values on destruction. | |
| std::weak_ptr< nanodbc::result > | execute () noexcept(false) |
| Executes the currently prepared statement. | |
| void | skip_rows_in_result_set () |
Protected Attributes inherited from storedProc::detail::StoredProcedure | |
| std::shared_ptr< nanodbc::connection > | _conn |
| nanodbc::statement | _stmt |
| std::shared_ptr< nanodbc::result > | _result |
| bool | _flushed |
MANUAL_TODO.
| std::weak_ptr< nanodbc::result > storedProc::UpdateUserData::execute | ( | const char * | id, |
| const uint8_t | Nation, | ||
| const uint8_t | Race, | ||
| const int16_t | Class, | ||
| const uint8_t | HairColor, | ||
| const uint8_t | Rank, | ||
| const uint8_t | Title, | ||
| const uint8_t | Level, | ||
| const int32_t | Exp, | ||
| const int32_t | Loyalty, | ||
| const uint8_t | Face, | ||
| const uint8_t | City, | ||
| const int16_t | Knights, | ||
| const uint8_t | Fame, | ||
| const int16_t | Hp, | ||
| const int16_t | Mp, | ||
| const int16_t | Sp, | ||
| const uint8_t | Str, | ||
| const uint8_t | Sta, | ||
| const uint8_t | Dex, | ||
| const uint8_t | Intel, | ||
| const uint8_t | Cha, | ||
| const uint8_t | Authority, | ||
| const uint8_t | Points, | ||
| const int32_t | Gold, | ||
| const uint8_t | Zone, | ||
| const int16_t | Bind, | ||
| const int32_t | PX, | ||
| const int32_t | PZ, | ||
| const int32_t | PY, | ||
| const int32_t | dwTime, | ||
| const int16_t | QuestTotal, | ||
| const std::vector< uint8_t > & | strSkill, | ||
| const std::vector< uint8_t > & | strItem, | ||
| const std::vector< uint8_t > & | strSerial, | ||
| const std::vector< uint8_t > & | strQuest, | ||
| const int32_t | MannerPoint, | ||
| const int32_t | LoyaltyMonthly ) |
Executes the stored procedure.
| nanodbc::database_error |