Beispiel #1
0
def refresh(request):
    server_id = request._game_session.server_id
    char_id = request._game_session.char_id

    tp = request._proto.tp

    s = Store(server_id, char_id)
    s.refresh(tp)

    response = StoreRefreshResponse()
    response.ret = 0
    return ProtobufResponse(response)