Skip to content

Commit

Permalink
fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Dec 14, 2024
1 parent 03f502e commit 1fd4aa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/blazium_sdk/lobby/lobby_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ class LobbyClient : public BlaziumClient {
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "peers", PROPERTY_HINT_ARRAY_TYPE, "LobbyPeer"), "", "get_peers");
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "lobby", PROPERTY_HINT_RESOURCE_TYPE, "LobbyInfo"), "", "get_lobby");
ADD_PROPERTY(PropertyInfo(Variant::STRING, "error"), "", "get_error");
ADD_PROPERTY_DEFAULT("lobby", Ref<LobbyInfo>());
}

public:
Expand Down
1 change: 1 addition & 0 deletions modules/blazium_sdk/master_server/master_server_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ class MasterServerClient : public BlaziumClient {
ClassDB::bind_method(D_METHOD("get_result"), &MasterServerResult::get_result);
ADD_PROPERTY(PropertyInfo(Variant::STRING, "error"), "", "get_error");
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "result", PROPERTY_HINT_RESOURCE_TYPE, "GameServerInfo"), "", "get_result");
ADD_PROPERTY_DEFAULT("result", Ref<GameServerInfo>());
}

public:
Expand Down

0 comments on commit 1fd4aa8

Please sign in to comment.