@@ -11,33 +11,33 @@ namespace ReplicateState
1111 internal class Program
1212 {
1313 /// <summary>
14- /// PlEASE REPLACE ME .
15- /// You SpatialOS project name.
16- /// It should be the same as the name specified in the local spaitalos.json file used to start spatiald .
14+ /// PLEASE REPLACE.
15+ /// Your SpatialOS project name.
16+ /// It should be the same as the name specified in the local project definition file (spatialos.json) used to start the local API service .
1717 /// </summary>
1818 private const string ProjectName = "platform_sdk_examples" ;
1919
2020 /// <summary>
21- /// PlEASE REPLACE ME .
21+ /// PLEASE REPLACE.
2222 /// The name of the deployment.
2323 /// </summary>
2424 private static readonly string DeploymentName = $ "snapshot_upload_{ StringUtils . Random ( 6 ) } ";
2525
2626 /// <summary>
27- /// PlEASE REPLACE ME .
28- /// The path to a valid launch configuration json file.
27+ /// PLEASE REPLACE.
28+ /// The path to a valid launch configuration JSON file.
2929 /// </summary>
3030 private const string LaunchConfigFilePath = "../blank_project/default_launch.json" ;
3131
3232 /// <summary>
33- /// PlEASE REPLACE ME .
34- /// The assembly you would want the cloud deployment to use.
33+ /// PLEASE REPLACE.
34+ /// The assembly you want the cloud deployment to use.
3535 /// </summary>
3636 private const string AssemblyId = "blank_project" ;
3737
3838 /// <summary>
39- /// PlEASE REPLACE ME .
40- /// The port spatiald is running on.
39+ /// PLEASE REPLACE.
40+ /// The port that the local API service is running on.
4141 /// </summary>
4242 private const int SpatialDPort = 9876 ;
4343
@@ -67,14 +67,14 @@ internal class Program
6767 DeploymentServiceClient . Create ( SpatialdEndpoint ) ;
6868
6969 /// <summary>
70- /// PlEASE REPLACE ME .
71- /// The SpatialOS Platform refresh token of a service account or a user account.
70+ /// PLEASE REPLACE.
71+ /// The SpatialOS refresh token of a service account or a user account.
7272 /// </summary>
7373 private static string RefreshToken =>
7474 Environment . GetEnvironmentVariable ( "IMPROBABLE_REFRESH_TOKEN" ) ?? "PLEASE_REPLACE_ME" ;
7575
7676 /// <summary>
77- /// This contains the implementation of the "replicate local state to cloud" scenario.
77+ /// This contains the implementation of the "Replicate local state to cloud" scenario.
7878 /// 1. Take a snapshot of a local deployment.
7979 /// 2. Download the local snapshot to a temporary address.
8080 /// 3. Upload the local snapshot to the cloud through in three steps:
@@ -159,15 +159,15 @@ private static void Main(string[] args)
159159 }
160160
161161 /// <summary>
162- /// This assumes you already have a running spatiald process at the specified port.
163- /// For more information about how to start a spatiald process, please visit the accompanying documentation on
162+ /// This assumes you already have the local API service (" spatiald") running at the specified port.
163+ /// For more information about how to start the local API service, visit the accompanying documentation on
164164 /// https://docs.improbable.io/reference/latest//platform-sdk/local-api.
165165 /// This starts a local deployment using the blank SpatialOS project included in this repository.
166166 /// </summary>
167167 private static void Setup ( )
168168 {
169169 Console . WriteLine ( "Setting up for the scenario" ) ;
170- Console . WriteLine ( $ "Assuming spatiald is running at localhost:{ SpatialDPort } ") ;
170+ Console . WriteLine ( $ "Assuming the local API service is running at localhost:{ SpatialDPort } ") ;
171171 Console . WriteLine ( "Starting a local deployment" ) ;
172172 var launchConfig = File . ReadAllText ( LaunchConfigFilePath ) ;
173173 _localDeployment = LocalDeploymentServiceClient . CreateDeployment ( new CreateDeploymentRequest
0 commit comments