From 4c8e58815a53e552d65a839b2883f8fd9961dbce Mon Sep 17 00:00:00 2001 From: jeena Date: Mon, 14 Feb 2011 12:55:36 -0800 Subject: [PATCH] Updated Interfaces (markdown) --- Interfaces.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Interfaces.md b/Interfaces.md index 7d4130a..29e85de 100644 --- a/Interfaces.md +++ b/Interfaces.md @@ -11,4 +11,11 @@ ggs_vm_runner:user_command(GameVM, User, Command, Args) -> ok handle_cast(stop, State) -> {stop, normal, State} handle_cast({server, hello, Headers}, State) -> {noreply, NewState} handle_cast({server, define, Headers, Data}, State) -> {noreply, NewState} -handle_cast({game, command, Headers, Data}, State) -> {noreply, NewState} \ No newline at end of file +handle_cast({game, command, Headers, Data}, State) -> {noreply, NewState} + +Headers is Build like: +
Headers = {
+ token, "FDB59E46-07A2-40B0-B4DB-F3447F0E651B",
+ size, 20,
+ user_agent, "FunnyGame 2.2"
+}
\ No newline at end of file