Updated Interfaces (markdown)

jeena 2011-02-14 12:55:36 -08:00
parent 75b0cc8efd
commit 4c8e58815a

@ -11,4 +11,11 @@ ggs_vm_runner:user_command(GameVM, User, Command, Args) -> ok
handle_cast(stop, State) -> {stop, normal, State} handle_cast(stop, State) -> {stop, normal, State}
handle_cast({server, hello, Headers}, State) -> {noreply, NewState} handle_cast({server, hello, Headers}, State) -> {noreply, NewState}
handle_cast({server, define, Headers, Data}, State) -> {noreply, NewState} handle_cast({server, define, Headers, Data}, State) -> {noreply, NewState}
handle_cast({game, command, Headers, Data}, State) -> {noreply, NewState}</pre> handle_cast({game, command, Headers, Data}, State) -> {noreply, NewState}</pre>
Headers is Build like:
<pre>Headers = {
token, "FDB59E46-07A2-40B0-B4DB-F3447F0E651B",
size, 20,
user_agent, "FunnyGame 2.2"
}</pre>