static void Main(string[] args) { Config config = LoadConfig(); CredsManager credsManager = new CredsManager(config); GraphQLClient graphQLClient = new GraphQLClient(config, credsManager.getAccessToken()); /* * string listCharactersQuery = @"query listCharacters { * listCharacters { * items { * id * localPosition { * x * y * z * } * localRotation { * w * x * y * z * } * parentId * psgUserId * items * eventFlow * avatar * status * ship * } * } * }"; */ string onUpdateCharacterQuery = @"subscription OnUpdateCharacter( $id: ID ) { onUpdateCharacter( id: $id ) { id localPosition { x y z } localRotation { w x y z } parentId psgUserId items eventFlow avatar status ship } }"; string onUpdateCharacterVars = "{\"id\":\"cbb3c87c-b3d2-4fd0-b091-104c2abbf87e\"}"; GraphQLQuery query = new GraphQLQuery(onUpdateCharacterQuery, "OnUpdateCharacter", onUpdateCharacterVars); bool stahp = graphQLClient.AddSubscription(query, null).Result; }