unchained 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.md +20 -0
- data/README.md +38 -0
- data/lib/unchained/client.rb +4 -0
- data/lib/unchained/client/archetypes.rb +5 -6
- data/lib/unchained/client/attributes.rb +35 -0
- data/lib/unchained/client/factions.rb +5 -6
- data/lib/unchained/client/mixins/resource.rb +110 -16
- data/lib/unchained/client/motd.rb +19 -0
- data/lib/unchained/client/patcher.rb +11 -13
- data/lib/unchained/client/races.rb +5 -6
- data/lib/unchained/client/servers.rb +11 -10
- data/lib/unchained/error.rb +2 -0
- data/lib/unchained/request.rb +5 -1
- data/lib/unchained/version.rb +1 -1
- data/test/_fixtures/vcr_cassettes/archetypes.yml +51 -0
- data/test/_fixtures/vcr_cassettes/attribute_offsets.yml +36 -0
- data/test/_fixtures/vcr_cassettes/attributes.yml +100 -0
- data/test/_fixtures/vcr_cassettes/factions.yml +45 -0
- data/test/_fixtures/vcr_cassettes/motd.yml +36 -0
- data/test/_fixtures/vcr_cassettes/patcher_alerts.yml +36 -0
- data/test/_fixtures/vcr_cassettes/patcher_hero_contents.yml +104 -0
- data/test/_fixtures/vcr_cassettes/races.yml +38 -0
- data/test/_fixtures/vcr_cassettes/servers.yml +36 -0
- data/test/test_helper.rb +7 -0
- data/test/unchained/client/archetypes_test.rb +27 -0
- data/test/unchained/client/attributes_test.rb +29 -0
- data/test/unchained/client/factions_test.rb +20 -0
- data/test/unchained/client/mixins/resource_test.rb +38 -0
- data/test/unchained/client/motd_test.rb +23 -0
- data/test/unchained/client/patcher_test.rb +29 -0
- data/test/unchained/client/races_test.rb +20 -0
- data/test/unchained/client/servers_test.rb +20 -0
- data/test/unchained/client_test.rb +0 -5
- data/unchained.gemspec +4 -2
- metadata +66 -2
data/lib/unchained/version.rb
CHANGED
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.camelotunchained.com/v1/gamedata/archetypes
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Logintoken:
|
15
|
+
- ''
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Length:
|
24
|
+
- '659'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Server:
|
28
|
+
- Microsoft-HTTPAPI/2.0
|
29
|
+
Date:
|
30
|
+
- Fri, 22 Apr 2016 15:40:31 GMT
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
W3siZGVzY3JpcHRpb24iOiJUaGUgRGFyayBLbmlnaHQiLCJmYWN0aW9uIjoz
|
35
|
+
LCJpZCI6NywibmFtZSI6IkJsYWNrIEtuaWdodCJ9LHsiZGVzY3JpcHRpb24i
|
36
|
+
OiJTb21lIHRyZWUgdGhpbmciLCJmYWN0aW9uIjoxLCJpZCI6OCwibmFtZSI6
|
37
|
+
IkZpYW5uYSJ9LHsiZGVzY3JpcHRpb24iOiJUSE9SUiEhISIsImZhY3Rpb24i
|
38
|
+
OjIsImlkIjo5LCJuYW1lIjoiTWrDtmxuaXIifSx7ImRlc2NyaXB0aW9uIjoi
|
39
|
+
V2hhdCdzIHVwIERvYz8iLCJmYWN0aW9uIjozLCJpZCI6MTAsIm5hbWUiOiJQ
|
40
|
+
aHlzaWNpYW4ifSx7ImRlc2NyaXB0aW9uIjoiQW4gZW1vIGhlYWxlciIsImZh
|
41
|
+
Y3Rpb24iOjEsImlkIjoxMSwibmFtZSI6IkVtcGF0aCJ9LHsiZGVzY3JpcHRp
|
42
|
+
b24iOiJNZSBoZWFsIHdpdGggcm9jayEiLCJmYWN0aW9uIjoyLCJpZCI6MTIs
|
43
|
+
Im5hbWUiOiJTdG9uZWhlYWxlciJ9LHsiZGVzY3JpcHRpb24iOiJTdHJvbmsg
|
44
|
+
Z3VhcmQiLCJmYWN0aW9uIjozLCJpZCI6MTMsIm5hbWUiOiJCbGFja2d1YXJk
|
45
|
+
In0seyJkZXNjcmlwdGlvbiI6IkhlIGJlIHN0YWxraW5nIHlvIHRyZWVzIiwi
|
46
|
+
ZmFjdGlvbiI6MSwiaWQiOjE0LCJuYW1lIjoiRm9yZXN0IFN0YWxrZXIifSx7
|
47
|
+
ImRlc2NyaXB0aW9uIjoiU291bmRzIGNvbGQiLCJmYWN0aW9uIjoyLCJpZCI6
|
48
|
+
MTUsIm5hbWUiOiJXaW50ZXIncyBTaGFkb3cifV0=
|
49
|
+
http_version:
|
50
|
+
recorded_at: Fri, 22 Apr 2016 15:40:52 GMT
|
51
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.camelotunchained.com/v1/gamedata/attributeoffsets/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Logintoken:
|
15
|
+
- ''
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Length:
|
24
|
+
- '3367'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Server:
|
28
|
+
- Microsoft-HTTPAPI/2.0
|
29
|
+
Date:
|
30
|
+
- Fri, 22 Apr 2016 15:39:11 GMT
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: '[{"race":16,"gender":1,"attributeOffsets":{"Strength":1.0,"Dexterity":0.0,"Agility":1.0,"Vitality":3.0,"Endurance":5.0,"Attunement":-4.0,"Will":-5.0,"Faith":2.0,"Resonance":-3.0,"Age":20.0,"Mass":100.0,"Eyesight":-5.0,"Hearing":-5.0,"Presence":5.0,"Clarity":5.0,"Affinity":0.0}},{"race":16,"gender":2,"attributeOffsets":{"Strength":1.0,"Dexterity":0.0,"Agility":1.0,"Vitality":3.0,"Endurance":5.0,"Attunement":-4.0,"Will":-5.0,"Faith":2.0,"Resonance":-3.0,"Age":20.0,"Mass":100.0,"Eyesight":-5.0,"Hearing":-5.0,"Presence":5.0,"Clarity":5.0,"Affinity":0.0}},{"race":18,"gender":1,"attributeOffsets":{"Strength":0.0,"Dexterity":2.0,"Agility":3.0,"Vitality":1.0,"Endurance":3.0,"Attunement":-5.0,"Will":-2.0,"Faith":2.0,"Resonance":-4.0,"Age":20.0,"Mass":100.0,"Eyesight":-5.0,"Hearing":-5.0,"Presence":5.0,"Clarity":5.0,"Affinity":0.0}},{"race":18,"gender":2,"attributeOffsets":{"Strength":0.0,"Dexterity":2.0,"Agility":3.0,"Vitality":1.0,"Endurance":3.0,"Attunement":-5.0,"Will":-2.0,"Faith":2.0,"Resonance":-4.0,"Age":20.0,"Mass":100.0,"Eyesight":-5.0,"Hearing":-5.0,"Presence":5.0,"Clarity":5.0,"Affinity":0.0}},{"race":17,"gender":1,"attributeOffsets":{"Strength":2.0,"Dexterity":-2.0,"Agility":-2.0,"Vitality":0.0,"Endurance":0.0,"Attunement":0.0,"Will":0.0,"Faith":2.0,"Resonance":0.0,"Age":20.0,"Mass":120.0,"Eyesight":10.0,"Hearing":-10.0,"Presence":-1.0,"Clarity":10.0,"Affinity":0.0}},{"race":17,"gender":2,"attributeOffsets":{"Strength":2.0,"Dexterity":-2.0,"Agility":-2.0,"Vitality":0.0,"Endurance":0.0,"Attunement":0.0,"Will":0.0,"Faith":2.0,"Resonance":0.0,"Age":20.0,"Mass":120.0,"Eyesight":10.0,"Hearing":-10.0,"Presence":-1.0,"Clarity":10.0,"Affinity":0.0}},{"race":2,"gender":1,"attributeOffsets":{"Strength":20.0,"Dexterity":45.0,"Agility":10.0,"Vitality":-10.0,"Endurance":0.0,"Attunement":0.0,"Will":5.0,"Faith":-10.0,"Resonance":0.0,"Age":20.0,"Mass":30.0,"Eyesight":20.0,"Hearing":10.0,"Presence":30.0,"Clarity":-10.0,"Affinity":-10.0}},{"race":2,"gender":2,"attributeOffsets":{"Strength":20.0,"Dexterity":45.0,"Agility":10.0,"Vitality":-10.0,"Endurance":0.0,"Attunement":0.0,"Will":5.0,"Faith":-10.0,"Resonance":0.0,"Age":20.0,"Mass":30.0,"Eyesight":20.0,"Hearing":10.0,"Presence":30.0,"Clarity":-10.0,"Affinity":-10.0}},{"race":15,"gender":1,"attributeOffsets":{"Strength":1.0,"Dexterity":0.0,"Agility":1.0,"Vitality":-2.0,"Endurance":-2.0,"Attunement":0.0,"Will":2.0,"Faith":0.0,"Resonance":0.0,"Age":20.0,"Mass":100.0,"Eyesight":5.0,"Hearing":-5.0,"Presence":10.0,"Clarity":5.0,"Affinity":-15.0}},{"race":15,"gender":2,"attributeOffsets":{"Strength":1.0,"Dexterity":0.0,"Agility":1.0,"Vitality":-2.0,"Endurance":-2.0,"Attunement":0.0,"Will":2.0,"Faith":0.0,"Resonance":0.0,"Age":20.0,"Mass":100.0,"Eyesight":5.0,"Hearing":-5.0,"Presence":10.0,"Clarity":5.0,"Affinity":-15.0}},{"race":4,"gender":1,"attributeOffsets":{"Strength":0.0,"Dexterity":-5.0,"Agility":0.0,"Vitality":-5.0,"Endurance":-5.0,"Attunement":5.0,"Will":0.0,"Faith":5.0,"Resonance":5.0,"Age":20.0,"Mass":100.0,"Eyesight":-10.0,"Hearing":-10.0,"Presence":10.0,"Clarity":40.0,"Affinity":-10.0}},{"race":4,"gender":2,"attributeOffsets":{"Strength":0.0,"Dexterity":-5.0,"Agility":0.0,"Vitality":-5.0,"Endurance":-5.0,"Attunement":5.0,"Will":0.0,"Faith":5.0,"Resonance":5.0,"Age":20.0,"Mass":100.0,"Eyesight":-10.0,"Hearing":-10.0,"Presence":10.0,"Clarity":40.0,"Affinity":-10.0}}]'
|
34
|
+
http_version:
|
35
|
+
recorded_at: Fri, 22 Apr 2016 15:39:32 GMT
|
36
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,100 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.camelotunchained.com/v1/gamedata/attributes/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Logintoken:
|
15
|
+
- ''
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Length:
|
24
|
+
- '7505'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Server:
|
28
|
+
- Microsoft-HTTPAPI/2.0
|
29
|
+
Date:
|
30
|
+
- Fri, 22 Apr 2016 15:39:11 GMT
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: '[{"baseValue":30.0,"derivedFrom":"None","description":"Increases the
|
34
|
+
power of the character''s magic effects and resistance to the negative effects
|
35
|
+
of the Veil, and allows use of magic shapes and runes.","maxOrMultipler":100.0,"name":"Attunement","type":1,"units":"units"},{"baseValue":30.0,"derivedFrom":"None","description":"Improves
|
36
|
+
Veil Subtlety of magic used, reducing its effects on the Veil, and allows
|
37
|
+
use of modifier components as a part of magic spells.","maxOrMultipler":100.0,"name":"Will","type":1,"units":"units"},{"baseValue":30.0,"derivedFrom":"None","description":"Allows
|
38
|
+
use of ability components granted by Greater Powers and increases the power
|
39
|
+
of incoming healing.","maxOrMultipler":100.0,"name":"Faith","type":1,"units":"units"},{"baseValue":50.0,"derivedFrom":"None","description":"Affects
|
40
|
+
how NPCs react to the character, as well as increasing the effectiveness of
|
41
|
+
concealment.","maxOrMultipler":100.0,"name":"Presence","type":2,"units":"units"},{"baseValue":4.0,"derivedFrom":"Faith","description":"Increases
|
42
|
+
the duration of beneficial effects on the character.","maxOrMultipler":0.25,"name":"Enhancement
|
43
|
+
Duration","type":3,"units":"percent"},{"baseValue":4.0,"derivedFrom":"Affinity","description":"Increases
|
44
|
+
the power of beneficial effects applied to the character.","maxOrMultipler":0.25,"name":"Effect
|
45
|
+
Power Bonus","type":3,"units":"percent"},{"baseValue":30.0,"derivedFrom":"None","description":"Increases
|
46
|
+
movement speed, and allows use of light weapons.","maxOrMultipler":100.0,"name":"Agility","type":1,"units":"units"},{"baseValue":30.0,"derivedFrom":"None","description":"Increases
|
47
|
+
maximum Health.","maxOrMultipler":100.0,"name":"Vitality","type":1,"units":"units"},{"baseValue":30.0,"derivedFrom":"None","description":"Increases
|
48
|
+
maximum Stamina.","maxOrMultipler":100.0,"name":"Endurance","type":1,"units":"units"},{"baseValue":30.0,"derivedFrom":"None","description":"Allows
|
49
|
+
use of voice- and instrument-based ability components.","maxOrMultipler":100.0,"name":"Resonance","type":1,"units":"units"},{"baseValue":50.0,"derivedFrom":"None","description":"Increases
|
50
|
+
the character''s Detection rating.","maxOrMultipler":100.0,"name":"Hearing","type":2,"units":"units"},{"baseValue":50.0,"derivedFrom":"None","description":"Reduces
|
51
|
+
the effects of Panic on the character.","maxOrMultipler":100.0,"name":"Clarity","type":2,"units":"units"},{"baseValue":0.0,"derivedFrom":"None","description":"The
|
52
|
+
years your character has walked this world.","maxOrMultipler":10000.0,"name":"Age","type":2,"units":"years"},{"baseValue":100.0,"derivedFrom":"Clarity","description":"The
|
53
|
+
degree to which Panic events affect the character, causing increased ability
|
54
|
+
failure chance and reduced Stamina regeneration rate.","maxOrMultipler":0.25,"name":"Maximum
|
55
|
+
Panic Rating","type":3,"units":"units"},{"baseValue":1.0,"derivedFrom":"Clarity","description":"Increase
|
56
|
+
the rate at which accumulated Panic is decreased.","maxOrMultipler":0.25,"name":"Panic
|
57
|
+
Rating Decay","type":3,"units":"units/second"},{"baseValue":10000.0,"derivedFrom":"Vitality","description":"Increases
|
58
|
+
the character''s maximum health value.","maxOrMultipler":0.25,"name":"Maximum
|
59
|
+
Health","type":3,"units":"units"},{"baseValue":40.0,"derivedFrom":"Will","description":"Reduces
|
60
|
+
the Veil disturbance generated by use of magic abilities.","maxOrMultipler":0.25,"name":"Veil
|
61
|
+
Subtlety","type":3,"units":"units"},{"baseValue":10000.0,"derivedFrom":"Vitality","description":"Increases
|
62
|
+
the maximum blood value consumed by magic abilities.","maxOrMultipler":0.25,"name":"Maximum
|
63
|
+
Blood","type":3,"units":"units"},{"baseValue":30.0,"derivedFrom":"None","description":"Increases
|
64
|
+
carrying capacity, and allows use of heavy weapons and armor.","maxOrMultipler":100.0,"name":"Strength","type":1,"units":"units"},{"baseValue":30.0,"derivedFrom":"None","description":"Reduces
|
65
|
+
Encumbrance penalty, and allows use of medium weapons and light armor.","maxOrMultipler":100.0,"name":"Dexterity","type":1,"units":"units"},{"baseValue":50.0,"derivedFrom":"None","description":"Increases
|
66
|
+
Vision range and allows use of targeting abilities.","maxOrMultipler":100.0,"name":"Eyesight","type":2,"units":"units"},{"baseValue":50.0,"derivedFrom":"None","description":"Increases
|
67
|
+
the allowed power of positive effects on the character.","maxOrMultipler":100.0,"name":"Affinity","type":2,"units":"units"},{"baseValue":0.0,"derivedFrom":"None","description":"Increases
|
68
|
+
the difficulty of pushing the character, and grants increased pushing power.","maxOrMultipler":1000.0,"name":"Mass","type":2,"units":"Kilograms"},{"baseValue":5.0,"derivedFrom":"Agility","description":"Increases
|
69
|
+
the maximum movement speed of the character.","maxOrMultipler":0.25,"name":"Movement
|
70
|
+
Speed","type":3,"units":"meters/second"},{"baseValue":1000.0,"derivedFrom":"Eyesight","description":"Increases
|
71
|
+
the distance at which other characters normally become visible.","maxOrMultipler":0.25,"name":"Vision","type":3,"units":"meters"},{"baseValue":10.0,"derivedFrom":"Hearing","description":"Increases
|
72
|
+
the distance at which concealed characters may start to be detected.","maxOrMultipler":0.25,"name":"Detection","type":3,"units":"meters"},{"baseValue":10.0,"derivedFrom":"Dexterity","description":"Amount
|
73
|
+
of encumbrance the character is able to ignore.","maxOrMultipler":0.25,"name":"Encumbrance
|
74
|
+
Reduction","type":3,"units":"percent"},{"baseValue":1000.0,"derivedFrom":"Strength","description":"Increases
|
75
|
+
the amount of weight the character may carry, including all armor and weapons.
|
76
|
+
Characters that are heavily encumbered will suffer penalties.","maxOrMultipler":0.25,"name":"Carrying
|
77
|
+
Capacity","type":3,"units":"Kilograms"},{"baseValue":0.001,"derivedFrom":"Vitality","description":"Increases
|
78
|
+
the rate at which health regenerates over time.","maxOrMultipler":0.25,"name":"Health
|
79
|
+
Regeneration","type":3,"units":"units/second"},{"baseValue":0.06,"derivedFrom":"Endurance","description":"Increases
|
80
|
+
the rate at which stamina is restored.","maxOrMultipler":0.25,"name":"Stamina
|
81
|
+
Regeneration","type":3,"units":"units/second"},{"baseValue":0.0015,"derivedFrom":"Vitality","description":"Increases
|
82
|
+
the rate at which blood regenerates over time.","maxOrMultipler":0.25,"name":"Blood
|
83
|
+
Regeneration","type":3,"units":"units/second"},{"baseValue":10000.0,"derivedFrom":"Endurance","description":"Increases
|
84
|
+
the maximum value and regeneration rate of stamina.","maxOrMultipler":0.25,"name":"Maximum
|
85
|
+
Stamina","type":3,"units":"units"},{"baseValue":10.0,"derivedFrom":"Presence","description":"Increases
|
86
|
+
the distance at which the character will become visible or be detected by
|
87
|
+
enemies.","maxOrMultipler":0.25,"name":"Concealment","type":3,"units":"percent"},{"baseValue":8.0,"derivedFrom":"Attunement","description":"Reduces
|
88
|
+
the power of negative effects caused by the Veil.","maxOrMultipler":0.25,"name":"Veil
|
89
|
+
Resistance","type":3,"units":"percent"},{"baseValue":4.0,"derivedFrom":"Faith","description":"Increases
|
90
|
+
the power of healing effects on the character.","maxOrMultipler":0.25,"name":"Healing
|
91
|
+
Received Bonus","type":3,"units":"percent"},{"baseValue":80.0,"derivedFrom":"Endurance","description":"Increases
|
92
|
+
the character''s heat tolerance threshold before taking damage from excess
|
93
|
+
heat.","maxOrMultipler":0.25,"name":"Heat Tolerance","type":3,"units":"degrees
|
94
|
+
Celsius"},{"baseValue":-80.0,"derivedFrom":"Endurance","description":"Increases
|
95
|
+
the character''s cold tolerance threshold before taking damage from excess
|
96
|
+
cold.","maxOrMultipler":0.25,"name":"Cold Tolerance","type":3,"units":"degrees
|
97
|
+
Celsius"}]'
|
98
|
+
http_version:
|
99
|
+
recorded_at: Fri, 22 Apr 2016 15:39:33 GMT
|
100
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.camelotunchained.com/v1/gamedata/factions
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Logintoken:
|
15
|
+
- ''
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Length:
|
24
|
+
- '362'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Server:
|
28
|
+
- Microsoft-HTTPAPI/2.0
|
29
|
+
Date:
|
30
|
+
- Fri, 22 Apr 2016 15:41:25 GMT
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33
|
+
string: !binary |-
|
34
|
+
W3siZGVzY3JpcHRpb24iOiJObyBGYWN0aW9uIG9yIEFsbCBGYWN0aW9ucyAo
|
35
|
+
TlBDIE9ubHkpIiwiaWQiOjAsIm5hbWUiOiJGYWN0aW9ubGVzcyIsInNob3J0
|
36
|
+
TmFtZSI6IkZhY3Rpb25sZXNzIn0seyJkZXNjcmlwdGlvbiI6IlRoZSBUdWF0
|
37
|
+
aGEgRMOpIERhbmFubiIsImlkIjoxLCJuYW1lIjoiVHVhdGhhIETDqSBEYW5h
|
38
|
+
bm4iLCJzaG9ydE5hbWUiOiJUREQifSx7ImRlc2NyaXB0aW9uIjoiVGhlIFZp
|
39
|
+
a2luZ3MiLCJpZCI6MiwibmFtZSI6IlZpa2luZ3MiLCJzaG9ydE5hbWUiOiJW
|
40
|
+
aWtpbmcifSx7ImRlc2NyaXB0aW9uIjoiVGhlIEFydGh1cmlhbnMiLCJpZCI6
|
41
|
+
MywibmFtZSI6IkFydGh1cmlhbnMiLCJzaG9ydE5hbWUiOiJBcnRodXJpYW4i
|
42
|
+
fV0=
|
43
|
+
http_version:
|
44
|
+
recorded_at: Fri, 22 Apr 2016 15:41:45 GMT
|
45
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.camelotunchained.com/v1/messageoftheday
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Logintoken:
|
15
|
+
- ''
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Length:
|
24
|
+
- '89'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Server:
|
28
|
+
- Microsoft-HTTPAPI/2.0
|
29
|
+
Date:
|
30
|
+
- Fri, 22 Apr 2016 15:42:06 GMT
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: '{"id":"56ff1eeda7b0a02aa0e464cb","message":"Welcome to Camelot Unchained!","duration":30}'
|
34
|
+
http_version:
|
35
|
+
recorded_at: Fri, 22 Apr 2016 15:42:27 GMT
|
36
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.camelotunchained.com/v1/patcheralerts
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Logintoken:
|
15
|
+
- ''
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Length:
|
24
|
+
- '2'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Server:
|
28
|
+
- Microsoft-HTTPAPI/2.0
|
29
|
+
Date:
|
30
|
+
- Fri, 22 Apr 2016 15:44:06 GMT
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: '[{"id": "56a98f8965fe574304e0a193","message": "A test message, please ignore","utcDateEnd": "2016-01-29T03:48:25.662Z","utcDateStart": "2016-01-28T03:48:25.662Z"}]'
|
34
|
+
http_version:
|
35
|
+
recorded_at: Fri, 22 Apr 2016 15:44:27 GMT
|
36
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,104 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.camelotunchained.com/v1/patcherherocontent
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Logintoken:
|
15
|
+
- ''
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Length:
|
24
|
+
- '6221'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Server:
|
28
|
+
- Microsoft-HTTPAPI/2.0
|
29
|
+
Date:
|
30
|
+
- Fri, 22 Apr 2016 15:44:07 GMT
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: '[{"content":"<link rel=\"stylesheet\" id=\"ss-blockquote-heading-font-css\"
|
34
|
+
href=\"http://fonts.googleapis.com/css?family=Titillium+Web:400,600,700\"
|
35
|
+
type=\"text/css\" media=\"all\"><link rel=\"stylesheet\" id=\"ss-main-heading-font-css\"
|
36
|
+
href=\"http://fonts.googleapis.com/css?family=Caudex:400,700\" type=\"text/css\"
|
37
|
+
media=\"all\"><style> .archer-vid {position: fixed;top: 50%;left: 50%;min-width:
|
38
|
+
100%;min-height: 100%;width: auto;height: auto;transform: translateX(-50%)
|
39
|
+
translateY(-50%);background-size: cover;} .archer-hero {padding-left: 300px;
|
40
|
+
padding-top: 65px; overflow: hidden; text-align: center;} .archer-hero div{
|
41
|
+
position: absolute; z-index: 1; top: 25%; width: calc(100% - 308px); } .archer-hero
|
42
|
+
span {min-width: 530px; margin: auto; display: block; padding-left: 35%; }
|
43
|
+
.archer-hero h1 { color: #3C2317; font-family: ''Caudex'', sans-serif ; margin:
|
44
|
+
0 0 15px 0; font-size: 5.5em ; padding: 0; line-height: 0.7em; font-weight:
|
45
|
+
400; letter-spacing: -3px;} .archer-hero h2 { font-family: ''Titillium Web'',
|
46
|
+
sans-serif !important; color: #674023; font-size: 1.8em; font-weight: 400;
|
47
|
+
margin: 0 0 5px 10px; text-transform: uppercase; letter-spacing: 5px; } </style>
|
48
|
+
<div class=''archer-hero herotext''> <div> <span class=\"righttext\"> <h1>Defend</h1>
|
49
|
+
<h2>our forest</h2></span> </div></div> <video class=''archer-vid'' src=''videos/archer.webm''
|
50
|
+
autoplay loop poster=\"videos/archer.jpg\"></video>","id":"56e8299ba7b0a06214e5602e","priority":7,"utcDateEnd":"2017-03-15T15:26:19.423Z","utcDateStart":"2016-03-15T15:26:19.423Z"},{"content":"
|
51
|
+
<link rel=\"stylesheet\" id=\"ss-blockquote-heading-font-css\" href=\"http://fonts.googleapis.com/css?family=Titillium+Web:400,600,700\"
|
52
|
+
type=\"text/css\" media=\"all\"><link rel=\"stylesheet\" id=\"ss-main-heading-font-css\"
|
53
|
+
href=\"http://fonts.googleapis.com/css?family=Caudex:400,700\" type=\"text/css\"
|
54
|
+
media=\"all\"><style> .raven-vid {position: fixed;top: 50%;left: 50%;min-width:
|
55
|
+
100%;min-height: 100%;width: auto;height: auto;transform: translateX(-50%)
|
56
|
+
translateY(-50%);background-size: cover;} .raven-hero {padding-left: 300px;
|
57
|
+
padding-top: 65px; overflow: hidden; text-align: center;} .raven-hero div{
|
58
|
+
position: absolute; z-index: 1; top: 25%; width: calc(100% - 308px); } .raven-hero
|
59
|
+
span { max-width: 620px; min-width: 340px; margin: auto; display: block; padding-right:
|
60
|
+
15%; } .raven-hero h1 { color: #fff; font-family: ''Caudex'', sans-serif
|
61
|
+
; margin: 0 0 15px 0; font-size: 5.5em ; padding: 0; line-height: 0.7em; font-weight:
|
62
|
+
400; letter-spacing: -3px;} .raven-hero h2 { font-family: ''Titillium Web'',
|
63
|
+
sans-serif !important; color: #BEE5FF; font-size: 1.8em; font-weight: 400;
|
64
|
+
margin: 0 0 5px 10px; text-transform: uppercase; letter-spacing: 5px; } </style>
|
65
|
+
<div class=''raven-hero herotext''> <div> <span> <h1>Doom </h1> <h2>approaches</h2>
|
66
|
+
</span> </div></div> <video class=''raven-vid'' src=''videos/raven.webm''
|
67
|
+
autoplay loop poster=\"videos/raven.jpg\"></video>","id":"56ec5fcea7b0a093c8bb1eb4","priority":8,"utcDateEnd":"2017-03-15T15:26:19Z","utcDateStart":"2016-03-15T15:26:19Z"},{"content":"<link
|
68
|
+
rel=\"stylesheet\" id=\"ss-blockquote-heading-font-css\" href=\"http://fonts.googleapis.com/css?family=Titillium+Web:400,600,700\"
|
69
|
+
type=\"text/css\" media=\"all\"><link rel=\"stylesheet\" id=\"ss-main-heading-font-css\"
|
70
|
+
href=\"http://fonts.googleapis.com/css?family=Caudex:400,700\" type=\"text/css\"
|
71
|
+
media=\"all\"><style> .arthurian-vid {position: fixed;top: 50%;left: 50%;min-width:
|
72
|
+
100%;min-height: 100%;width: auto;height: auto;transform: translateX(-50%)
|
73
|
+
translateY(-50%);background-size: cover;} .arthurian-hero {padding-left: 300px; padding-top:
|
74
|
+
65px; overflow: hidden; text-align: center;} .arthurian-hero div{
|
75
|
+
position: absolute; z-index: 1; top: 20%; width: calc(100% - 308px); } .arthurian-hero
|
76
|
+
span { max-width: 620px; min-width: 430px; margin: auto; display: block; padding-right:
|
77
|
+
21%;} .arthurian-hero h1 { color: #000; font-family: ''Caudex'', sans-serif
|
78
|
+
; margin: 0 0 15px 0; font-size: 5.5em ; padding: 0; line-height: 0.7em; font-weight:
|
79
|
+
400; letter-spacing: -3px; } .arthurian-hero h2 { font-family: ''Titillium
|
80
|
+
Web'', sans-serif !important; color: #943B3F; font-size: 1.8em; font-weight:
|
81
|
+
400; margin: 0 0 5px 0; text-transform: uppercase; letter-spacing: 5px; }
|
82
|
+
</style> <div class=''arthurian-hero herotext''> <div> <span> <h1>Rebuild</h1>
|
83
|
+
<h2>our City</h2> </span> </div></div> <video class=''arthurian-vid'' src=''https://s3.amazonaws.com/camelot-unchained/videos/patcher/arthurian.webm''
|
84
|
+
autoplay loop poster=\"https://s3.amazonaws.com/camelot-unchained/videos/patcher/arthurian.jpg\"></video>","id":"56ec6079a7b0a093c8bb1eb5","priority":9,"utcDateEnd":"2017-03-15T15:26:19Z","utcDateStart":"2016-03-15T15:26:19Z"},{"content":"<link
|
85
|
+
rel=\"stylesheet\" id=\"ss-blockquote-heading-font-css\" href=\"http://fonts.googleapis.com/css?family=Titillium+Web:400,600,700\"
|
86
|
+
type=\"text/css\" media=\"all\"><link rel=\"stylesheet\" id=\"ss-main-heading-font-css\"
|
87
|
+
href=\"http://fonts.googleapis.com/css?family=Caudex:400,700\" type=\"text/css\"
|
88
|
+
media=\"all\"><style> .valk-vid {position: fixed;top: 50%;left: 50%;min-width:
|
89
|
+
100%;min-height: 100%;width: auto;height: auto;transform: translateX(-50%)
|
90
|
+
translateY(-50%);background-size: cover;} .valk-hero {padding-left: 300px; padding-top:
|
91
|
+
65px; overflow: hidden; text-align: center;} .valk-hero div{ position:
|
92
|
+
absolute; z-index: 1; top: 55%; width: calc(100% - 308px); } .valk-hero span
|
93
|
+
{ max-width: 620px; min-width: 430px; margin: auto; display: block; padding-right:
|
94
|
+
21%;} .valk-hero h1 { color: #fff; font-family: ''Caudex'', sans-serif ;
|
95
|
+
margin: 0 0 15px 0; font-size: 5.5em ; padding: 0; line-height: 0.7em; font-weight:
|
96
|
+
400; letter-spacing: -3px; } .valk-hero h2 { font-family: ''Titillium Web'',
|
97
|
+
sans-serif !important; color: #FFD985; font-size: 1.8em; font-weight: 400;
|
98
|
+
margin: 0 0 5px 0; text-transform: uppercase; letter-spacing: 5px; } </style>
|
99
|
+
<div class=''valk-hero herotext''> <div> <span> <h1>Vengeance </h1> <h2>for
|
100
|
+
blood</h2> </span> </div></div> <video class=''valk-vid'' src=''videos/valk.webm''
|
101
|
+
autoplay loop poster=\"videos/valk.jpg\"></video>","id":"56f318cb30040e3d01b3242a","priority":10,"utcDateEnd":"2017-03-15T15:26:19Z","utcDateStart":"2016-03-15T15:26:19Z"}]'
|
102
|
+
http_version:
|
103
|
+
recorded_at: Fri, 22 Apr 2016 15:44:28 GMT
|
104
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.camelotunchained.com/v1/gamedata/races
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Logintoken:
|
15
|
+
- ''
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Length:
|
24
|
+
- '390'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Server:
|
28
|
+
- Microsoft-HTTPAPI/2.0
|
29
|
+
Date:
|
30
|
+
- Fri, 22 Apr 2016 15:47:10 GMT
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: '[{"name":"Luchorpan","description":"Luchorpan","faction":1,"id":2},{"name":"Valkyrie","description":"Valkyrie","faction":2,"id":4},{"name":"Human","description":"Viking
|
34
|
+
Human","faction":2,"id":15},{"name":"Human","description":"Arthurian Human","faction":3,"id":16},{"name":"Human","description":"TDD
|
35
|
+
Human","faction":1,"id":17},{"name":"Pict","description":"Pictish?","faction":3,"id":18}]'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Fri, 22 Apr 2016 15:47:31 GMT
|
38
|
+
recorded_with: VCR 3.0.1
|