mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 17:07:20 +01:00
Fix typos.
This commit is contained in:
parent
b81253b22d
commit
56ae9e3734
@ -94,7 +94,7 @@ void HTTPServerConnection::update() {
|
||||
}
|
||||
|
||||
if (_current_request.is_valid()) {
|
||||
udpate_send_file(_current_request);
|
||||
update_send_file(_current_request);
|
||||
|
||||
if (closed()) {
|
||||
//some error happened
|
||||
@ -340,10 +340,10 @@ void HTTPServerConnection::send_file(Ref<WebServerRequest> request, const String
|
||||
_file_buffer_start = 0;
|
||||
_file_buffer_end = 0;
|
||||
|
||||
udpate_send_file(r);
|
||||
update_send_file(r);
|
||||
}
|
||||
|
||||
void HTTPServerConnection::udpate_send_file(Ref<SimpleWebServerRequest> request) {
|
||||
void HTTPServerConnection::update_send_file(Ref<SimpleWebServerRequest> request) {
|
||||
int loop_count = 0;
|
||||
|
||||
while (true) {
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
void send(Ref<WebServerRequest> request);
|
||||
void send_file(Ref<WebServerRequest> request, const String &p_file_path);
|
||||
|
||||
void udpate_send_file(Ref<SimpleWebServerRequest> request);
|
||||
void update_send_file(Ref<SimpleWebServerRequest> request);
|
||||
|
||||
void close();
|
||||
bool closed();
|
||||
|
@ -31,7 +31,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_udpate_table" qualifiers="virtual">
|
||||
<method name="_update_table" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<argument index="0" name="current_table_version" type="int" />
|
||||
<description>
|
||||
@ -76,7 +76,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="udpate_table">
|
||||
<method name="update_table">
|
||||
<return type="void" />
|
||||
<argument index="0" name="current_table_version" type="int" />
|
||||
<description>
|
||||
|
@ -246,8 +246,8 @@ void UserManagerDB::create_table() {
|
||||
void UserManagerDB::drop_table() {
|
||||
call("_drop_table");
|
||||
}
|
||||
void UserManagerDB::udpate_table(const int p_current_table_version) {
|
||||
call("_udpate_table", p_current_table_version);
|
||||
void UserManagerDB::update_table(const int p_current_table_version) {
|
||||
call("_update_table", p_current_table_version);
|
||||
}
|
||||
void UserManagerDB::create_default_entries(const int p_seed) {
|
||||
call("_create_default_entries", p_seed);
|
||||
@ -278,7 +278,7 @@ void UserManagerDB::_drop_table() {
|
||||
tb->drop_table_if_exists(_database_table_name)->run_query();
|
||||
}
|
||||
|
||||
void UserManagerDB::_udpate_table(const int p_current_table_version) {
|
||||
void UserManagerDB::_update_table(const int p_current_table_version) {
|
||||
}
|
||||
|
||||
void UserManagerDB::_create_default_entries(const int p_seed) {
|
||||
@ -315,9 +315,9 @@ void UserManagerDB::_migrate(const bool p_clear, const bool p_should_seed, const
|
||||
Ref<DatabaseConnection> conn = get_database_connection();
|
||||
ERR_FAIL_COND(!conn.is_valid());
|
||||
int ver = conn->get_table_version(_database_table_name);
|
||||
udpate_table(ver);
|
||||
update_table(ver);
|
||||
#else
|
||||
udpate_table(0);
|
||||
update_table(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -361,17 +361,17 @@ void UserManagerDB::_bind_methods() {
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_create_table"));
|
||||
BIND_VMETHOD(MethodInfo("_drop_table"));
|
||||
BIND_VMETHOD(MethodInfo("_udpate_table", PropertyInfo(Variant::INT, "current_table_version")));
|
||||
BIND_VMETHOD(MethodInfo("_update_table", PropertyInfo(Variant::INT, "current_table_version")));
|
||||
BIND_VMETHOD(MethodInfo("_create_default_entries", PropertyInfo(Variant::INT, "pseed")));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("create_table"), &UserManagerDB::create_table);
|
||||
ClassDB::bind_method(D_METHOD("drop_table"), &UserManagerDB::drop_table);
|
||||
ClassDB::bind_method(D_METHOD("udpate_table", "current_table_version"), &UserManagerDB::udpate_table);
|
||||
ClassDB::bind_method(D_METHOD("update_table", "current_table_version"), &UserManagerDB::update_table);
|
||||
ClassDB::bind_method(D_METHOD("create_default_entries", "pseed"), &UserManagerDB::create_default_entries);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_create_table"), &UserManagerDB::_create_table);
|
||||
ClassDB::bind_method(D_METHOD("_drop_table"), &UserManagerDB::_drop_table);
|
||||
ClassDB::bind_method(D_METHOD("_udpate_table", "current_table_version"), &UserManagerDB::_udpate_table);
|
||||
ClassDB::bind_method(D_METHOD("_update_table", "current_table_version"), &UserManagerDB::_update_table);
|
||||
ClassDB::bind_method(D_METHOD("_create_default_entries", "pseed"), &UserManagerDB::_create_default_entries);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_migrate", PropertyInfo(Variant::BOOL, "clear"), PropertyInfo(Variant::BOOL, "should_seed"), PropertyInfo(Variant::INT, "pseed")));
|
||||
|
@ -41,12 +41,12 @@ public:
|
||||
|
||||
void create_table();
|
||||
void drop_table();
|
||||
void udpate_table(const int p_current_table_version);
|
||||
void update_table(const int p_current_table_version);
|
||||
void create_default_entries(const int p_seed);
|
||||
|
||||
virtual void _create_table();
|
||||
virtual void _drop_table();
|
||||
virtual void _udpate_table(const int p_current_table_version);
|
||||
virtual void _update_table(const int p_current_table_version);
|
||||
virtual void _create_default_entries(const int p_seed);
|
||||
|
||||
void migrate(const bool p_clear, const bool p_should_seed, const int p_seed);
|
||||
|
@ -202,8 +202,8 @@ void HTTPSessionManagerDB::create_table() {
|
||||
void HTTPSessionManagerDB::drop_table() {
|
||||
call("_drop_table");
|
||||
}
|
||||
void HTTPSessionManagerDB::udpate_table(const int p_current_table_version) {
|
||||
call("_udpate_table", p_current_table_version);
|
||||
void HTTPSessionManagerDB::update_table(const int p_current_table_version) {
|
||||
call("_update_table", p_current_table_version);
|
||||
}
|
||||
void HTTPSessionManagerDB::create_default_entries(const int p_seed) {
|
||||
call("_create_default_entries", p_seed);
|
||||
@ -238,7 +238,7 @@ void HTTPSessionManagerDB::_drop_table() {
|
||||
tb->drop_table_if_exists(_database_table_name)->run_query();
|
||||
tb->drop_table_if_exists(_database_data_table_name)->run_query();
|
||||
}
|
||||
void HTTPSessionManagerDB::_udpate_table(const int p_current_table_version) {
|
||||
void HTTPSessionManagerDB::_update_table(const int p_current_table_version) {
|
||||
}
|
||||
void HTTPSessionManagerDB::_create_default_entries(const int p_seed) {
|
||||
}
|
||||
@ -256,9 +256,9 @@ void HTTPSessionManagerDB::_migrate(const bool p_clear, const bool p_should_seed
|
||||
Ref<DatabaseConnection> conn = get_database_connection();
|
||||
ERR_FAIL_COND(!conn.is_valid());
|
||||
int ver = conn->get_table_version(_database_table_name);
|
||||
udpate_table(ver);
|
||||
update_table(ver);
|
||||
#else
|
||||
udpate_table(0);
|
||||
update_table(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -307,17 +307,17 @@ void HTTPSessionManagerDB::_bind_methods() {
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_create_table"));
|
||||
BIND_VMETHOD(MethodInfo("_drop_table"));
|
||||
BIND_VMETHOD(MethodInfo("_udpate_table", PropertyInfo(Variant::INT, "current_table_version")));
|
||||
BIND_VMETHOD(MethodInfo("_update_table", PropertyInfo(Variant::INT, "current_table_version")));
|
||||
BIND_VMETHOD(MethodInfo("_create_default_entries", PropertyInfo(Variant::INT, "pseed")));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("create_table"), &HTTPSessionManagerDB::create_table);
|
||||
ClassDB::bind_method(D_METHOD("drop_table"), &HTTPSessionManagerDB::drop_table);
|
||||
ClassDB::bind_method(D_METHOD("udpate_table", "current_table_version"), &HTTPSessionManagerDB::udpate_table);
|
||||
ClassDB::bind_method(D_METHOD("update_table", "current_table_version"), &HTTPSessionManagerDB::update_table);
|
||||
ClassDB::bind_method(D_METHOD("create_default_entries", "pseed"), &HTTPSessionManagerDB::create_default_entries);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_create_table"), &HTTPSessionManagerDB::_create_table);
|
||||
ClassDB::bind_method(D_METHOD("_drop_table"), &HTTPSessionManagerDB::_drop_table);
|
||||
ClassDB::bind_method(D_METHOD("_udpate_table", "current_table_version"), &HTTPSessionManagerDB::_udpate_table);
|
||||
ClassDB::bind_method(D_METHOD("_update_table", "current_table_version"), &HTTPSessionManagerDB::_update_table);
|
||||
ClassDB::bind_method(D_METHOD("_create_default_entries", "pseed"), &HTTPSessionManagerDB::_create_default_entries);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_migrate", PropertyInfo(Variant::BOOL, "clear"), PropertyInfo(Variant::BOOL, "should_seed"), PropertyInfo(Variant::INT, "pseed")));
|
||||
|
@ -44,12 +44,12 @@ public:
|
||||
|
||||
void create_table();
|
||||
void drop_table();
|
||||
void udpate_table(const int p_current_table_version);
|
||||
void update_table(const int p_current_table_version);
|
||||
void create_default_entries(const int p_seed);
|
||||
|
||||
virtual void _create_table();
|
||||
virtual void _drop_table();
|
||||
virtual void _udpate_table(const int p_current_table_version);
|
||||
virtual void _update_table(const int p_current_table_version);
|
||||
virtual void _create_default_entries(const int p_seed);
|
||||
|
||||
void migrate(const bool p_clear, const bool p_should_seed, const int p_seed);
|
||||
|
@ -31,7 +31,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_udpate_table" qualifiers="virtual">
|
||||
<method name="_update_table" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<argument index="0" name="current_table_version" type="int" />
|
||||
<description>
|
||||
@ -76,7 +76,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="udpate_table">
|
||||
<method name="update_table">
|
||||
<return type="void" />
|
||||
<argument index="0" name="current_table_version" type="int" />
|
||||
<description>
|
||||
|
@ -108,11 +108,11 @@
|
||||
The default implementation of render_preview().
|
||||
</description>
|
||||
</method>
|
||||
<method name="_udpate_table" qualifiers="virtual">
|
||||
<method name="_update_table" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<argument index="0" name="current_table_version" type="int" />
|
||||
<description>
|
||||
The default implementation of udpate_table().
|
||||
The default implementation of update_table().
|
||||
</description>
|
||||
</method>
|
||||
<method name="build_handler_map">
|
||||
@ -293,7 +293,7 @@
|
||||
Helper method that will try to route requests to child [WebNode]s. Useful when when overriding _handle_request_main().
|
||||
</description>
|
||||
</method>
|
||||
<method name="udpate_table">
|
||||
<method name="update_table">
|
||||
<return type="void" />
|
||||
<argument index="0" name="current_table_version" type="int" />
|
||||
<description>
|
||||
|
@ -245,8 +245,8 @@ void WebNode::create_table() {
|
||||
void WebNode::drop_table() {
|
||||
call("_drop_table");
|
||||
}
|
||||
void WebNode::udpate_table(const int p_current_table_version) {
|
||||
call("_udpate_table", p_current_table_version);
|
||||
void WebNode::update_table(const int p_current_table_version) {
|
||||
call("_update_table", p_current_table_version);
|
||||
}
|
||||
void WebNode::create_default_entries(const int p_seed) {
|
||||
call("_create_default_entries", p_seed);
|
||||
@ -256,7 +256,7 @@ void WebNode::_create_table() {
|
||||
}
|
||||
void WebNode::_drop_table() {
|
||||
}
|
||||
void WebNode::_udpate_table(const int p_current_table_version) {
|
||||
void WebNode::_update_table(const int p_current_table_version) {
|
||||
}
|
||||
void WebNode::_create_default_entries(const int p_seed) {
|
||||
}
|
||||
@ -274,9 +274,9 @@ void WebNode::_migrate(const bool p_clear, const bool p_should_seed, const int p
|
||||
Ref<DatabaseConnection> conn = get_database_connection();
|
||||
ERR_FAIL_COND(!conn.is_valid());
|
||||
int ver = conn->get_table_version(_database_table_name);
|
||||
udpate_table(ver);
|
||||
update_table(ver);
|
||||
#else
|
||||
udpate_table(0);
|
||||
update_table(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -533,17 +533,17 @@ void WebNode::_bind_methods() {
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_create_table"));
|
||||
BIND_VMETHOD(MethodInfo("_drop_table"));
|
||||
BIND_VMETHOD(MethodInfo("_udpate_table", PropertyInfo(Variant::INT, "current_table_version")));
|
||||
BIND_VMETHOD(MethodInfo("_update_table", PropertyInfo(Variant::INT, "current_table_version")));
|
||||
BIND_VMETHOD(MethodInfo("_create_default_entries", PropertyInfo(Variant::INT, "pseed")));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("create_table"), &WebNode::create_table);
|
||||
ClassDB::bind_method(D_METHOD("drop_table"), &WebNode::drop_table);
|
||||
ClassDB::bind_method(D_METHOD("udpate_table", "current_table_version"), &WebNode::udpate_table);
|
||||
ClassDB::bind_method(D_METHOD("update_table", "current_table_version"), &WebNode::update_table);
|
||||
ClassDB::bind_method(D_METHOD("create_default_entries", "pseed"), &WebNode::create_default_entries);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_create_table"), &WebNode::_create_table);
|
||||
ClassDB::bind_method(D_METHOD("_drop_table"), &WebNode::_drop_table);
|
||||
ClassDB::bind_method(D_METHOD("_udpate_table", "current_table_version"), &WebNode::_udpate_table);
|
||||
ClassDB::bind_method(D_METHOD("_update_table", "current_table_version"), &WebNode::_update_table);
|
||||
ClassDB::bind_method(D_METHOD("_create_default_entries", "pseed"), &WebNode::_create_default_entries);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_migrate", PropertyInfo(Variant::BOOL, "clear"), PropertyInfo(Variant::BOOL, "should_seed"), PropertyInfo(Variant::INT, "pseed")));
|
||||
|
@ -78,12 +78,12 @@ public:
|
||||
|
||||
void create_table();
|
||||
void drop_table();
|
||||
void udpate_table(const int p_current_table_version);
|
||||
void update_table(const int p_current_table_version);
|
||||
void create_default_entries(const int p_seed);
|
||||
|
||||
virtual void _create_table();
|
||||
virtual void _drop_table();
|
||||
virtual void _udpate_table(const int p_current_table_version);
|
||||
virtual void _update_table(const int p_current_table_version);
|
||||
virtual void _create_default_entries(const int p_seed);
|
||||
|
||||
void migrate(const bool p_clear, const bool p_should_seed, const int p_seed);
|
||||
|
Loading…
Reference in New Issue
Block a user