public void Handle(int opcode, JagexBuffer buffer) { var index = buffer.ReadLEUShort(); var value = buffer.ReadMeInt(); var settings = GameContext.Settings; settings[index] = value; }