Skip to content

Instantly share code, notes, and snippets.

# Match Stick Man Game Network Protocol
# Defined in Thrift 0.9.0, for syntax: http://thrift.apache.org/
#Common
struct CommonResponse{
1: required i16 ret, # 0=OK
2: required string errmsg # ""=OK
}
struct Position{
#!/usr/local/bin/thrift --java --php --py
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0