Skip to content

Instantly share code, notes, and snippets.

void handle_foo_packet(foo_packet *pkt){
server *s = /* */;
s->apply_async();
}
void handle_foo_packet(foo_packet *pkt){
server *s = /* */;
s->apply_async();
}
void handle_foo_packet(foo_packet *pkt){
server *s = /* */;
s->apply_async();
}
asdasdasd
@pjc0247
pjc0247 / actions.md
Last active August 29, 2015 14:20
NEXT HS 러프한 설계

Actions

Entry

  • 참가 등록
  • 참가 취소
  • 참가자 정보 가져오기

Tournament

@pjc0247
pjc0247 / specs.md
Last active August 29, 2015 14:20
cccppp.md

Graphics

  • Texture
  • Static
  • Streaming
  • RenderTarget
  • Image
  • Sprite
  • atlas
@pjc0247
pjc0247 / gg.cpp
Last active August 29, 2015 14:21
signal on_exit;
// 함수 하나로 초기화와 정리를 한번에
void setup_and_cleanup(){
init();
delay_until(on_exit);
release();
}
void main(){
module Minipack
class Package
end
class Item
end
def load path
end
end
// test_lemon.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include <stdlib.h>
#include <Windows.h>
#include <setjmp.h>
//jmp_buf co;
class Foo
attr_accessor :bar
visible_owner :bar
end
class Chicken
def initialize
@foo = Foo.new
@foo.bar = 1234