mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
nuke tabs
This commit is contained in:
parent
0bf26d3e8d
commit
a626464ea7
16 changed files with 1431 additions and 1431 deletions
|
|
@ -102,18 +102,18 @@ class Field
|
|||
*
|
||||
* @return bool
|
||||
*/
|
||||
bool GetBool() const { return mValue ? atoi(mValue) > 0 : false; }
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @return double
|
||||
*/
|
||||
double GetDouble() const { return mValue ? static_cast<double>(atof(mValue)) : 0.0f; }
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @return int8
|
||||
*/
|
||||
bool GetBool() const { return mValue ? atoi(mValue) > 0 : false; }
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @return double
|
||||
*/
|
||||
double GetDouble() const { return mValue ? static_cast<double>(atof(mValue)) : 0.0f; }
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @return int8
|
||||
*/
|
||||
int8 GetInt8() const { return mValue ? static_cast<int8>(atol(mValue)) : int8(0); }
|
||||
/**
|
||||
* @brief
|
||||
|
|
@ -158,11 +158,11 @@ class Field
|
|||
|
||||
return value;
|
||||
}
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @return int64
|
||||
*/
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @return int64
|
||||
*/
|
||||
uint64 GetInt64() const
|
||||
{
|
||||
int64 value = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue