quick import from wordpress
This commit is contained in:
parent
291998d462
commit
63f9168258
23 changed files with 680 additions and 0 deletions
20
_posts/2017-05-14-opensettlersii-6.md
Normal file
20
_posts/2017-05-14-opensettlersii-6.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
ID: 128
|
||||
post_title: 'OpenSettlersII #6'
|
||||
author: dreat
|
||||
post_excerpt: ""
|
||||
layout: post
|
||||
permalink: >
|
||||
http://dreat.info/2017/05/14/opensettlersii-6/
|
||||
published: true
|
||||
post_date: 2017-05-14 20:38:02
|
||||
---
|
||||
<a href="https://github.com/Dreat/OpenSettlersII/commit/591554e9b2fdc1eeddba9dbde631a4b233241b9a" target="_blank" rel="noopener noreferrer">As always, a commit!</a>
|
||||
|
||||
Slowly crawling towards functioning lib.
|
||||
|
||||
This commit is not really that different from other, yet I started using Elixir convetion for return values: the tuple <em>{:ok, response}</em>/<em>{:error, message}</em>. I am quite not happy with the as_server function and I guess I will rename/rewrite it later. It's quite obvious what it does - checks the rightmost bit and responds and sets "as server" to according boolean value.
|
||||
|
||||
Also, encoding and decoding version - I have no way of validating it, but I'm not sure if I should. This is one of two things I need to check before proceeding - another one being the Signature - I'm not sure if it's version specific or not, so that's something to get to know before coding it.
|
||||
|
||||
And that's it for now :)
|
||||
Loading…
Add table
Add a link
Reference in a new issue