All pastes #440665 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-15 05:53 UTC
rendered paste body
    public StaticPacketBuilder returncode(int response, int rights, int members) {
        StaticPacketBuilder s = new StaticPacketBuilder();
        s.setBare(true);
        s.addByte_U((byte) response);            // Response Code
        s.addByte_U((byte) rights);            // playerRights
        s.addByte_U((byte) 1);            // members or not
        s.addWord(1234);   //no idea it accepts anything though
        s.addByte_U((byte) 0);            // close it off
        return s;
    }