Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Updated comments;
Browse files Browse the repository at this point in the history
  • Loading branch information
KonH committed Apr 25, 2018
1 parent ba43e56 commit c2d53c3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Scripts/Controllers/Config/FsJsonNetworkConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
namespace UDBase.Controllers.ConfigSystem {

/// <summary>
/// Config controller, which uses JSON file (located on remote web server), serialized via Fullserializer
/// Config controller, which uses JSON file (located on remote web server), serialized via Fullserializer.
/// How to use:
/// 1. Save config in your client Resources
/// 2. When config update is required, upload new version to your web server
/// 3. Client starts with default config in Resources and tries to load stored config from data path immediately
/// 4. Client tries to load new config from web server at the same time
/// 5. If config not loaded to data path yet, Resources config is used
/// 6. When config loaded from web server, it saved to data path and used
/// 7. If config can't be loaded because of some problem, but loaded previously to data path, it used from here
/// </summary>
public sealed class FsJsonNetworkConfig : FsJsonBaseConfig, ILogContext, IInitializable {
readonly NetUtils _net;
Expand Down

0 comments on commit c2d53c3

Please sign in to comment.