Network Parameters¶
NetworkParameters
is a ScriptableObject
allowing to tweak how an app connects to Asmodee.net servers.
Create your own version for your game, and provide it to the CoreApplication.
We will explain major parameters:
REST API¶
These settings are the same for everybody.
- RestAPIClientId / RestAPIClientSecret: find these elements in Asmodee.net Studio Manager / Apps.
- RestAPIClientCredentials allows to set ClientId / ClientSecret per platform
- RestAPIHostName:
api.asmodee.net
- RestAPIPinPublicKeys (2 elements):
3082010A0282010100D2AD74476760B57813B75D0132E87B22A03E291FA896A40F0289FF942269C3D6856A0565F3EE586F8D49ED29D7B442898CADC127CD8ED92A5F87FC33B8F53F23617960644C873039E19ABED9A6034EDCB0F08438DFB6804A44A2A482E666B1C3F07EC51D6DD4CD69561B1A95886B57890990A718E382693915D73387B650BAA1428F27772A3F5DC8B6D8AD4F0027323E6A079030414BF87147180A2E168C3252939029900EBF088B2F1BDC9B691C2326AEE3495CBEF081FE158429954A0FBE5D30240A1A2941F5D2910722865DF808E14BF921886B955BEB491AA65F88F092627056B9ECA93F1F063ABE7A5FF3EBB1FE81DB44F7A605F84E2FC48F44D1E5EA050203010001
3082010A0282010100B44DD5299C5FC6F0A96E81D98C987AEDB8300838BA9F1364D9047BB467A87D89A053951ABD09DDB52A2F97F3245273D1CA038A7837318053B7512BC8DDE0E7EF5BD68F993AD45406E8E540243145E4C6A99A48F7C264F9DB6049AE29AD473BBE091F65E119BDDA250110BC71E0980D43FB339689E9B26BF6911180D597AA83684B3F4A1CEB3E6EF0BE554C9CFAE688138DD8E7DB6DDAB8EBD77EFDD72C29EE134BBC6F115FF2584412E5E7C3AC5206AD808C524919247DAD46D8C10EA93FF510F67643AF687A37DB555581B2EA936CD2127C7878609011ABE7288F5C3A0619289D59C6ECC2AB6F0F572CEE8F10AE8266489B2F733C71ED635BE7084F7A92E6450203010001
Scalable Server¶
These settings are unique per game. Ask us for staging server settings when starting working on your project to do multiplayer development. Staging servers are for development only, never ship staging NetworkParameters to the public.
Before going public (most likely for beta), ask us for production settings.
Learn more about the different environments.
- ScalableServerCredentials keeps the following information for Staging and Production environments
- HostName: contact us
- HostPort: contact us
- PinPublicKeys: contact us (values for Staging environment are automatically set at runtime)
- GameType: find this element in Asmodee.net Studio Manager / Games under the column ID.