Skip to content

Instantly share code, notes, and snippets.

@sonygod
Created March 10, 2013 16:15
Show Gist options
  • Save sonygod/5129192 to your computer and use it in GitHub Desktop.
Save sonygod/5129192 to your computer and use it in GitHub Desktop.
request tinkerbell
package ;
import sys.db.ResultSet;
class Ex {
public function new() {
var test:Test = new TestProxy();
//TestProxy is @forwart typedef Test autoCreate
//and auto and two args [ callBack and args]
test.dropItem(1000, callBack, [1000])
}
function callBack(args:Array) {
}
}
//Test write in server side .and for client call
typedef Test = {
function dropItem(entityId:Int):Void;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment